PythonHub Logo Python Hub

Interesting articles and projects for Python developers.


๐ŸŒ Follow Python Hub in your social environment

x.com/PythonHub

telegram.me/PythonHub

mastodon.social/@pythonhub

bluesky/@pythonhub.dev

WhatsApp Python Hub Channel


๐Ÿฉ Support Python Hub

Buy me a Coffee

— On Patreon, just $1 per month


๐Ÿซฑ Suggest a Link

Share a news, article or interesting project. Link will be published after manual review.


๐Ÿ”‹ Ethical Ads


โœ‰๏ธ Weekly Digest Email

Subscribe to Python Hub Weekly Digest


๐Ÿน Latest

key-amnesia
Let your AI agent use your passwords and API keys - without ever letting it see them.

python-game-server
A lightweight server and framework for turn-based multiplayer games.

Numba in the Browser: Unlocking a New Scientific Python Stack in JupyterLite
Numba now runs entirely in the browser through JupyterLite, compiling Python functions to WebAssembly with a new LLVM-based execution engine and delivering substantial performance gains without a server. The work also unlocks browser-native support for the broader Numba ecosystem, including PyMC, PyTensor, and other scientific computing libraries.

Composite: The Pattern Behind Menus, File Systems and Games
The Composite pattern lets you treat individual objects and entire object hierarchies through the same interface, making tree-like structures much easier to manage. Using a simple Python game engine, the video demonstrates how this pattern naturally applies to game scenes, UI frameworks, file systems, menus, and similar hierarchical designs.

Two lines of Python that segfault the interpreter
Two lines of Python could crash CPython 3.14 through 3.16 because SET_ADD assumed it was always operating on a real set, while PEP 749 made__conditional_annotations__rebindable from Python code. The post explains how that assumption broke, why it caused a type-confusion crash, and why stable releases and the development branch needed different fixes.


๐Ÿ’– Most Popular in the Last Two Weeks

Celery: from first task to advanced recipes
The article introduces Celery, a distributed task queue for Python, then walks through practical patterns for running, routing, batching, timing out, and retrying asynchronous tasks. It also covers advanced recipes such as preventing parallel execution with Redis locks and integrating Celery tasks with Pythonโ€™s async/await workflows.

Numba in the Browser: Unlocking a New Scientific Python Stack in JupyterLite
Numba now runs entirely in the browser through JupyterLite, compiling Python functions to WebAssembly with a new LLVM-based execution engine and delivering substantial performance gains without a server. The work also unlocks browser-native support for the broader Numba ecosystem, including PyMC, PyTensor, and other scientific computing libraries.

Two lines of Python that segfault the interpreter
Two lines of Python could crash CPython 3.14 through 3.16 because SET_ADD assumed it was always operating on a real set, while PEP 749 made__conditional_annotations__rebindable from Python code. The post explains how that assumption broke, why it caused a type-confusion crash, and why stable releases and the development branch needed different fixes.

dottxt-ai / outlines
Structured Outputs

Self-contained highly-portable Python distributions


๐Ÿ“… Weekly Digests Archive

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 · 2025-09-07 · 2025-08-31 · 2025-08-24 · 2025-08-17 · 2025-08-10 · 2025-08-03 · 2025-07-27 · 2025-07-20 · 2025-07-13 · 2025-07-06 · 2025-06-29

all digests โ†’


Project by Ruslan Keba. Since 2012. Powered by Python. Made in ๐Ÿ‡บ๐Ÿ‡ฆUkraine.