PythonHub Logo Python Hub

Human-curated Python news, articles, projects and tools worth your time.


🌍 Follow Python Hub in your social environment

— x.com/PythonHub

— telegram.me/PythonHub

— mastodon.social/@pythonhub

— bluesky/@pythonhub.dev


🍩 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

Comprehensive Tutorial on Django ORM, Migrations and makemigrations
Learn how Django's ORM and migration system work by building a coffee and tea store, covering model relationships, database queries, and the differences between makemigrations and migrate. The tutorial demonstrates how to backfill required fields, roll back migrations, resolve conflicting migration histories, and use Django 6.1's new FETCH_PEERS mode to reduce N+1 database queries.

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。

Python's binary wheels and supply chain attacks
Artem Golubin highlights a supply chain security risk in Python's packaging ecosystem: binary wheels uploaded to PyPI can contain malicious code that differs from their accompanying source distributions. Since most security scanners focus on source code rather than compiled binaries, attackers could hide malware in prebuilt wheels that pip installs by default.

Django: check version support with norwegianblue
Adam Johnson demonstrates how to use norwegianblue, a command-line tool powered by endoflife.date, to check release cycles and support deadlines for Django, Python, PostgreSQL, and other software. The tool displays version compatibility, end-of-life dates, and upcoming support deadlines in a color-coded table, helping developers identify unsupported versions and plan upgrades.

Popular Python Features You Probably Shouldn’t Use
Explore seven powerful Python features, including properties, dataclasses, caching, decorators, async, pattern matching, and slots, that can make code harder to understand and maintain when misused. Learn the trade-offs of each feature and when using it improves code clarity, design, and maintainability.


💖 Most Popular in the Last Two Weeks

TurboPython
A Python-to-C++ compiler. Typed Python to native binaries with no Python runtime, no GC, no GIL.

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.

fastapi-stream-lease
Distributed stream and SSE concurrency lease manager for FastAPI and Starlette backed by atomic Redis Lua scripts.

ai-agents-zero-to-hero
Learn AI agents from first principles to production. Zero mandatory dependencies, pure standard Python 3.11+, and no magic frameworks.


📅 Weekly Digests Archive

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 · 2025-09-07

all digests →


Project by Ruslan Keba. Since 2012. Powered by Python. Made in 🇺🇦Ukraine.