Python HubInteresting articles and projects for Python developers.
— x.com/PythonHub
— telegram.me/PythonHub
— mastodon.social/@pythonhub
— bluesky/@pythonhub.dev
— WhatsApp Python Hub Channel
— 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
Django EMAIL_BACKEND Is Deprecated — Here’s How to Fix It (Django 6.1 MAILERS Guide)
Django 6.1 deprecates EMAIL_BACKEND and related email settings in favor of the new MAILERS configuration, ahead of their removal in Django 7.0. The article shows how to migrate existing email settings and update code to use mailer aliases and the new email APIs.
interlock
Circuit breaker for Python: sync + async in one class, sliding-window rate, slow-call detection, Polly-style resilience pipeline, type-safe API.
From Routing Checks to Trajectory Testing: Evaluating an Agentic Chatbot
Traditional chatbot testing that checks only final responses misses many agent failures, so this article builds an evaluation framework that progresses from routing checks and task completion to full trajectory testing of tool use, conversations, and intermediate actions. It also shows how to combine LLM-as-a-judge evals, multi-turn testing, and telemetry to debug agent behavior and vali...
A quick look at zero-knowledge proofs
In this post, the authors break down non-cryptocurrency zero-knowledge proofs (ZKPs) using graph theory and Python. By implementing Protocol 4 from Goldreich, Micali, and Wigderson, they show how a prover uses randomized color permutations, nonces, and cryptographic hashes to iteratively prove they hold a valid 3-coloring for a graph without revealing the actual solution to the verifier.
earthtojake / text-to-cad
A library of agent skills for CAD, CAE and CAM
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.
dottxt-ai / outlines
Structured Outputs
Self-contained highly-portable Python distributions
Model Genome: Fingerprinting Whether an LLM Was Trained From Scratch or Derived
Outsiders can assess whether a foundation model was truly built from scratch by analyzing architecture configurations, tokenizer overlap, and weight embeddings using a reproducible fingerprinting pipeline. While architecture and tokenizer artifacts provide the strongest evidence, weight analysis has limitations and cannot cleanly distinguish continued pretraining from training from scratch.
How to Conquer Concurrency in Python
A practical guide to Python concurrency that builds from OS fundamentals, processes, threads, race conditions, and the GIL to choosing between asyncio, threading, and multiprocessing. It also explains concurrency vs. parallelism, CPU vs. GPU tradeoffs, and how profiling and strong mental models help avoid common performance mistakes.
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
Project by Ruslan Keba. Since 2012. Powered by Python. Made in 🇺🇦Ukraine.