Python HubHuman-curated Python news, articles, projects and tools worth your time.
— x.com/PythonHub
— telegram.me/PythonHub
— mastodon.social/@pythonhub
— bluesky/@pythonhub.dev
— On Patreon, just $1 per month
Share a news, article or interesting project. Link will be published after manual review.
Subscribe to Python Hub Weekly Digest
Introducing TorchTPU
TorchTPU is an open source collaboration between Google and Meta that introduces a native and principled PyTorch backend for Google TPUs. It enables seamless out-of-the-box model execution and TPU migration while delivering industry-competitive inference and training performance through eager execution optimizations, torch.compile integration, and native hardware acceleration.
Introducing TorchNeuron: Native PyTorch backend for AWS Trainium
PyTorch and AWS introduce TorchNeuron, an open-source backend that lets developers run PyTorch models natively on AWS Trainium2 and Trainium3 accelerators with minimal code changes. Now available in public beta, it supports eager execution, torch.compile, distributed training, custom kernels through the Neuron Kernel Interface (NKI), and performance profiling using familiar PyTorch APIs.
Decoding base64 in Python at 10 gigabytes per second
Daniel Lemire introduces fastpybase64, a Python library built on SIMD-accelerated simdutf that provides a drop-in alternative to Python's standard base64 module. In single-threaded benchmarks decoding Base64 data containing line breaks, it achieves over 13 GB/s throughput, approximately 27 times faster than the standard library and four times faster than pybase64.
django-lifecycle - hooks for Django models (Signals alternative)
Learn how to usedjango-lifecycleas an alternative to Django signals, with declarative hooks that run when models are created, updated, deleted, or saved. The package also supports conditional hooks that trigger only when specific fields change or transition between particular values.
lightseekorg / tokenspeed
TokenSpeed is a speed-of-light LLM inference engine.
Quicksand
Quicksand is an async Python API for launching, controlling, snapshotting, and rolling back QEMU virtual machines to provide isolated sandboxes for AI agents without requiring Docker or root privileges.
Lifeguard
Lifeguard is a static analyzer to detect Lazy Imports incompatibilities and ease the adoption overhead for Lazy Imports in Python.
Write Python, Run native, All in Python.
PCC compiles Python and C source into native programs. This compiler and runtime aims to preserve Python's syntax and behavior without libpython, with self-hostingใ
fastapi-stream-lease
Distributed stream and SSE concurrency lease manager for FastAPI and Starlette backed by atomic Redis Lua scripts.
Symbolic Learning in Python and Julia
2026-11-01 · 2026-10-25 · 2026-10-18 · 2026-10-11 · 2026-10-04 · 2026-09-27 · 2026-09-20 · 2026-09-13 · 2026-09-06 · 2026-08-30 · 2026-08-23 · 2026-08-16 · 2026-08-09 · 2026-08-02 · 2026-07-26 · 2026-07-19 · 2026-07-12 · 2026-07-05 · 2026-06-28 · 2026-06-21 · 2026-06-14 · 2026-06-07 · 2026-05-31 · 2026-05-24 · 2026-05-17 · 2026-05-10 · 2026-05-03 · 2026-04-26 · 2026-04-19 · 2026-04-12 · 2026-04-05 · 2026-03-29 · 2026-03-22 · 2026-03-15 · 2026-03-08 · 2026-03-01 · 2026-02-22 · 2026-02-15 · 2026-02-08 · 2026-02-01 · 2026-01-25 · 2026-01-18 · 2026-01-11 · 2026-01-04 · 2025-12-28 · 2025-12-21 · 2025-12-14 · 2025-12-07 · 2025-11-30 · 2025-11-23 · 2025-11-16 · 2025-11-09 · 2025-11-02 · 2025-10-26 · 2025-10-19 · 2025-10-12 · 2025-10-05 · 2025-09-28 · 2025-09-21 · 2025-09-14
Project by Ruslan Keba. Since 2012. Powered by Python. Made in ๐บ๐ฆUkraine.