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

Topic - Edition

Python

41 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

RuleFlow

A Python research framework and terminal-based IDE (RuleFlow Studio) for modeling, evolving, and analyzing discrete complex systems like ECA and SSS.

Source: Python Weekly
Python

Making np.searchsorted up to 25× Faster in NumPy 2.5

The article speeds up binary search by batching independent searches with NumPy’s vectorized operations, then reformulates the algorithm to use only O(1) extra memory. After porting it to C++, the approach achieves up…

Source: Python Weekly
Python

ai-agents-zero-to-hero

Learn AI agents from first principles to production. Zero mandatory dependencies, pure standard Python 3.11+, and no magic frameworks.

Source: Python Weekly
Python

The things you own end up owning you

NumPy is being ported toward Python’s Limited API so it could eventually ship abi3 wheels that work across multiple Python versions, reducing the large per-version wheel matrix and easing support for new Python…

Source: Python Weekly
Python AI

Can Jev save my inbox from the Democrats?

The author outlines an end-to-end ML project evaluating whether TypeSafe’s Jev, accessed through OpenRouter, and smaller local models can effectively filter political fundraising emails from a personal inbox. He…

Source: Python Weekly

41 items available