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

https://pythonhub.dev/
Download Telegram
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
Soft-deprecating re.match()

The article explains when to use re.prefixmatch(), re.search(), and re.fullmatch(), what soft deprecation means for existing code, and how to flag re.match() usage with Ruff.

https://hugovk.dev/blog/2026/soft-deprecating-re.match/
FastHTML - Build Web Apps in Pure Python!

The video demonstrates building a polling application with FastHTML, covering form creation, POST request handling, and storing polls in a database. It also shows how to define database models using Python data classes, create a voting page, and process submitted votes.

https://www.youtube.com/watch?v=Ck0w7zqshjU