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

Python Hub Weekly Digest for 2026-09-06

Training and Finetuning Multi-Vector Embedding Models with Sentence Transformers
Sentence Transformers 6.0 introduces MultiVectorEncoder for training and fine-tuning ColBERT-style retrieval models in Python. The tutorial walks through the full training stack and shows a domain-tuned medical model outperforming over 50 retrieval model configurations on the author’s evaluation.

IPython is All You Need
Nathan Cooper shows how to turn IPython into a full terminal shell that runs Bash commands without !, displays images, and retains rich execution history. He then adds an AI assistant that can understand shell context, outputs, images, and errors, and safely execute Python and Bash commands through allowlisted tools.

HTTPX2 – A next-generation HTTP client for Python

Fuzzy String Matching in Django and PostgreSQL
Django and PostgreSQL can handle fuzzy name matching with Soundex, Daitch-Mokotoff, Levenshtein distance, and trigram similarity, each suited to different kinds of misspellings and phonetic variation. The article shows how to expose these techniques through Django ORM expressions and pair them with the right PostgreSQL indexes for efficient search at scale.


đź’– Most Popular in the Last Two Weeks

HTTPX2 – A next-generation HTTP client for Python

IPython is All You Need
Nathan Cooper shows how to turn IPython into a full terminal shell that runs Bash commands without !, displays images, and retains rich execution history. He then adds an AI assistant that can understand shell context, outputs, images, and errors, and safely execute Python and Bash commands through allowlisted tools.

Thinking in Python by Bruce Eckel

When str.lower() is a security vulnerability in Python
A Python security vulnerability caused IDNA 2003 handling to use the interpreter’s current Unicode case-folding rules instead of the Unicode 3.2 rules required by the specification.The fix makes Python’s case-folding behavior match Unicode 3.2 for StringPrep, restoring standards-compliant IDNA encoding and addressing CVE-2026-17084.

15 Python Libraries That Deserve More Attention
This is a roundup of 15 Python libraries that can make code cleaner, faster, and easier to maintain across areas like configuration, serialization, testing, scheduling, and UI development. It also highlights practical tools for dependency injection, state machines, data analysis, and more reliabledatetimehandling.


đź“… Weekly Digests Archive

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

all digests →


Project by Ruslan Keba. Since 2012. Powered by Python. Made in đź‡şđź‡¦Ukraine.