Skip to content
TILens What matters today in tech v0.3.2
Theme

Topic - Edition

Python

42 items on 08 Oct 2026
Python AI Django

ttok 0.4

Release: ttok 0.4 ttok is my CLI tool for counting tokens, using OpenAI's open source tiktoken library. It hasn't been in updated in a couple of years, but I finally fixed a Click warning, updated CI, and added a…

Source: Simon Willison's Weblog
Python AI Django

Quoting Carson Gross

Computer programming is, fundamentally, about two things: Problem-solving using computers Learning to control complexity while solving these problems I have a hard time imagining a future where knowing how to solve…

Source: Simon Willison's Weblog
Python

Include a helper for writing `__repr__` in the standard library

I have wanted this a few times and I’m curious whether others would find this useful. For this class: class Point: def __init__(self, x, y, z, color): self.x, self.y, self.z = x, y, z self.color = color def…

Source: Python Ideas Trey Hunner
Python

Allow profiling an entrypoint (dotted.name:func) (maybe `-e`?)

minimal problem statement: profiling a module or script muddies the profile with import-time computation. it would be nice to profile just a function open problems: what to put in sys.argv[0]? (this is apparently…

Source: Python Ideas Anthony Sottile
AI Research AI Python

AI Agents Beat PyTorch: Writing Faster CUDA Kernels

AI agents can now write CUDA kernels that outperform PyTorch—but proving those speedups are real is the harder problem. I put them to the test on an NVIDIA DGX Spark and found that benchmark design matters just as much…

Source: Towards Data Science Chien Vu Minh
AI Research AI Python

Your Model's MSE Is Lying to You III: Time Series Diffusion

A diffusion head for probabilistic time series forecasting: why a forecast can get the mean and the variance right and still describe a future that never happens, and how to fix it. The post Your Model's MSE Is Lying to…

Source: Towards Data Science Waleed Esmail
Python Django

Django Weblog: Django security reporting update

We are no longer accepting new security reports for the Django project through HackerOne. Existing reports submitted through HackerOne will remain open and continue to be handled by the Django Security Team. If you…

Source: Planet Python
Python

Eli Bendersky: Monte-Carlo simulations

Monte Carlo simulations (or methods) is the technique of applying randomness and the Law of large numbers to the solution of various scientific and engineering problems. One of its first documented uses was by Stanislaw…

Source: Planet Python
Python

clausal-prolog

Clausal Prolog is a Python implementation of Prolog for neurosymbolic AI, combining symbolic reasoning with Python and neural models in the same process without a separate runtime.

Source: Python Weekly
Python

First Steps into Memory Management in Python

CPython allocates memory through layers such as pymalloc, arenas, pools, and blocks, while reference counting and garbage collection manage object lifetimes. The article also explains why freeing Python objects does not…

Source: Python Weekly
Python

Pyronaut

Pyronaut is a high-performance polyglot application platform that brings Micronaut features like HTTP routing, dependency injection, configuration, validation, and Java library access to Python via GraalPy.

Source: Python Weekly
Python

rGPU

Keep Python on your laptop. Run PyTorch operations and hold tensors on a remote GPU, including from a Mac with no CUDA installation.

Source: Python Weekly
Python

Rust for CPython (Python Language Summit 2026)

CPython developers are exploring a gradual introduction of Rust, starting with an optional Rust implementation of zlib in Python 3.16 before considering broader use in areas like I/O, JSON, parsing, and memoryview. The…

Source: Python Weekly

42 items available