PythonHub
2.64K subscribers
2.35K photos
50.5K links
Human-curated Python news, projects, articles & tools.

https://pythonhub.dev/
Download Telegram
Playing with a Badgeware Badger

Ben Tasker shares his experience customizing the Badgeware Badger—a Raspberry Pi RP2350-powered e-ink name badge running MicroPython. He details troubleshooting image formatting, color-depth, and font sizing issues to display his custom avatar, a Fediverse social handle, and logo on the device.

https://www.bentasker.co.uk/posts/blog/general/playing-with-an-eink-badge.html
Jitter is the cheapest reliability fix you are not using

Distributed systems synchronise themselves without being told to: every client that retries on a fixed interval, restarts after a deploy, or reconnects after a network blip ends up firing at the same moment as every other client. The resulting spike is a self-inflicted denial of service that no single component is responsible for. Adding randomness to any repeating interval breaks the al...

https://ankit-rana.com/logs/49-jitter-synchronised-clients/
Django: serve the change password well-known URL

Adam Johnson explains how to implement the standard /.well-known/change-password URL redirect in Django using RedirectView, helping password managers direct users to their password change pages. He also covers testing the endpoint, checking for server misconfigurations that could interfere with password managers, and setting the correct autocomplete attributes on password fields.

https://adamj.eu/tech/2026/09/16/django-change-password-url/
Rapidly scaling online storage to serve over 1 billion ChatGPT users

Learn how OpenAI evolved Habitat from a Python library into a globally distributed storage platform serving 1 billion ChatGPT users and 22M requests per second.

https://openai.com/index/scaling-storage-one-billion-users-part-one/
Pandas Should Go Extinct

Eddie Atkinson makes the case that many teams move from Pandas to distributed systems too early, when single-machine tools like Polars and DuckDB can handle much larger analytical workloads with significantly better performance and memory efficiency in his benchmarks. He highlights lazy execution, multithreading, streaming, spill-to-disk, and Arrow interoperability as reasons these tools...

https://eddie.codes/posts/pandas-should-go-extinct/
Agents Without Code: Skills, YAML, and Filesystems Replaced Python

Philipp Schmid demonstrates how improving LLM capabilities allow developers to replace complex Python agent orchestration with simple instructions and skill files (AGENTS.md and SKILL.md) running inside hosted sandboxes. By building the same GitHub pull request review agent three times, he shows why developers should simplify agent architectures, rely on general-purpose tools, and focus ...

https://www.youtube.com/watch?v=fjF8EKnxKCU
❤1
There are only twelve 4x4 sudokus - and a cool trick for finding minimal subsets

The article explores 4×4 Sudoku, showing that there are 288 valid solutions, which reduce to just 12 structurally distinct grids when digit permutations are ignored. Using Python brute force and a clever bitmask technique for checking minimal subsets, the author identifies 85,632 minimal puzzles (3,568 up to digit permutations), each with a unique solution that becomes non-unique if any ...

https://baldino.dev/blog/there-are-only-twelve-4x4-sudokus/
The last mile of a long road: faster NumPy in the browser

NumPy in the browser now uses OpenBLAS through Emscripten-forge, accelerating matrix multiplication by up to 30.92× for float32 and 14.90× for float64 in the authors’ 1024×1024 benchmarks. The article details the WebAssembly and Fortran toolchain work behind the improvement, plus upcoming SIMD optimizations that push performance further, reaching up to 64.89× with optional Relaxed SIMD i...

https://notebook.link/blog/the-last-mile-faster-numpy/
Yokan: a compiler from a statically typed subset of Python to native desktop apps

Develop on real CPython with hot reload, ship one native binary, and check that both runs behave the same.

https://github.com/i2y/yokan
🔥1