PythonHub Logo Python Hub

Interesting articles and projects for Python developers.


🌍 Follow Python Hub in your social environment

twitter.com/PythonHub

telegram.me/PythonHub

mastodon.social/@pythonhub

bluesky/@pythonhub.dev

Discord Python Hub Channel

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

Python Hub Weekly Digest for 2026-06-28

How I made dependency injection in Python 130Γ— faster: from reflection to compiling the graph
The post shows how a Python dependency injection container was optimized from ~53 Β΅s to 0.40 Β΅s per resolve by caching plans, eliminating unnecessary checks, and compiling dependency graphs into generated code. Along the way, it demonstrates practical performance engineering techniques, including code generation, common-subexpression elimination, fuzz testing, and reproducible benchmarking

Libraries for your Python Polars workflows
The post highlights a set of Python libraries that work natively with Polars, letting you stay in the Polars ecosystem for validation, tables, visualization, and LLM-assisted analysis.

Showcasing allauth IdP: build an MCP server
This article demonstrates how to build a Model Context Protocol (MCP) server using Django and django-allauth, with OpenID Connect (OIDC) authentication handled by the allauth.idp package. It shows how MCP hosts such as Claude can dynamically register and authenticate clients without relying on separate third-party identity providers.

BugHunter
AI-powered bug bounty hunting from your terminal - recon, 20 vuln classes, autonomous hunting, and report generation. All inside Claude Code.


πŸ’– Most Popular in the Last Two Weeks

GitHub Pages alternative with native Python
This article shows how to recreate core GitHub Pages functionality using only Python's standard library, including static file serving, automated deployments, and HTTPS support. By extending http.server in just a few dozen lines of code, it demonstrates how native Python tools can power a lightweight static website hosting platform.

free-llm-api-keys
The easiest way to access LLM APIs for free - no credit card, no registration. Copy a key from the table below, paste it into your app, and start building.

Choosing a Python task queue library in 2026: Celery vs Dramatiq vs FastStream vs Taskiq vs Repid

pyappdist – Build installers for Python apps

Testing in Python with pytest: from the basics to advanced techniques
This comprehensive guide covers pytest from basic testing concepts to advanced techniques such as fixtures, parametrization, mocking, and asynchronous testing. It provides practical patterns for building maintainable, scalable Python test suites and leveraging pytest effectively in production environments.


πŸ“… Weekly Digests Archive

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 · 2025-06-22 · 2025-06-15 · 2025-06-08 · 2025-06-01 · 2025-05-25 · 2025-05-18 · 2025-05-11

all digests β†’


Project by Ruslan Keba. Since 2012. Powered by Python. Made in πŸ‡ΊπŸ‡¦Ukraine.