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

https://pythonhub.dev/
Download Telegram
Orchestrating Disposable Browser

Glazer replaced race-prone parallel startup with readiness signals between Python and Docker containers, allowing components to start concurrently without assuming that running means ready. That design cut cold starts from 8–10 seconds to about 4.5 seconds, and caching the Tor data directory brought startup down to a consistent 1.9–2.1 seconds.

https://blog.glazer.ee/posts/building-glazer-disposable-browser/
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 releases. The same work is also pushing NumPy toward subinterpreter support by replacing static types and global state with heap types and per-module state, though multiarray rema...

https://labs.quansight.org/blog/limited_api_numpy
👀1
Build & Train a GLM-5.3-Flash Model From Scratch with Python

This tutorial demonstrates how to build and train a compact 25-million parameter multimodal language model from scratch using modern techniques like mixture-of-experts and sparse attention. It further explores the AI researcher's role by guiding viewers through pre-training, reinforcement learning experiments, and the critical importance of designing effective data-driven environments.

https://www.youtube.com/watch?v=-gfgQfw2g_E
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.

https://github.com/micronaut-projects/pyronaut
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 ultimately builds a 23.4 MB quantized ONNX SetFit model using mdbr-leaf-mt and confidence thresholding, creating a fast, CPU-friendly local classifier while exposing the remainin...

https://huggingface.co/blog/stephen-solka/use-jev-to-delete-fundraising-emails
🔥1
How we built an async-aware Python profiler

Learn how Datadog made Python profiling async-aware while reducing profiler overhead and preserving context across asyncio tasks.

https://www.datadoghq.com/blog/engineering/async-python-profiler/
8 Python 3.15 Features You Need to Know

Python 3.15 introduces practical enhancements such as lazy imports, a built-in immutable dictionary, and streamlined unpacking in comprehensions. These updates, alongside a new sampling profiler and default UTF-8 encoding, aim to improve developer productivity and application performance.

https://www.youtube.com/watch?v=bgeqL4Btou0
Jev for Python engineers

Vercel’s Python AI SDK adds support for Jev, a fast universal classifier that answers structured choice, scoring, and probability questions without task-specific training. The post tests Jev on classifying Python vs. English and generating Python ASTs, showing that it works well for narrow decisions but still struggles when pushed into general code generation.

https://vercel.com/blog/jev-for-python-engineers
👏1
Django: serve apple-app-site-association and assetlinks.json

Django can serve the apple-app-site-association and assetlinks.json files needed for Apple Universal Links and Android App Links, letting installed apps securely claim website URLs and support password autofill and passkeys. The post walks through the required JSON, Django views, tests, caching, and production verification with Apple’s CDN and Google’s Digital Asset Links tools.

https://adamj.eu/tech/2026/10/02/django-app-links/
Making a mathematical model for better Indic keyboards

The article develops a mathematical model for more efficient Indic touchscreen keyboards, starting with Tamil and mapping script structure into Boolean logic and compact input states. It uses Python with SymPy to derive and simplify the logic, then implements the resulting input engine in TypeScript.

https://triangulatedexistence.mataroa.blog/blog/making-a-mathematical-model-for-better-indic-keyboards/
Build Your Own Agentic Harness in Python - Full Tutorial

This tutorial demonstrates how to build a custom AI agentic harness in pure Python by progressively integrating LLM communication, tool calling, and Model Context Protocol (MCP) support. It covers the full development loop from scratch, enabling persistent memory and model routing to create functional, autonomous agents.

https://www.youtube.com/watch?v=H5o1P8RMiMw
⚡1
Polars 2.0

Polars 2.0 introduces initial out-of-core spill-to-disk support, major performance improvements, first-class SQL, a new Map dtype, and stricter dtype handling. With the SQL and performance work, Polars reports leading DataFusion and DuckDB on TPC-H and TPC-DS benchmarks.

https://pola.rs/posts/release-polars-2/
⚡1
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 proposal aims to improve safety and performance without rewriting CPython, while addressing concerns around platform support, dependencies, build complexity, and whether c...

https://blog.python.org/2026/09/language-summit-2026-rust-for-cpython/
🙏1
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.

https://github.com/neurosymbolica/clausal-prolog
💯1