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

ai-job-search
The job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.

Nifty Django Feature: Counting on Multiple Columns
Django’s Count expression only works on a single column, which makes counting distinct combinations such as unique pet-vet pairs awkward. A custom CountSubquery shows how Django’s expression system can generate the needed SQL while staying inside the ORM instead of dropping to raw SQL.

How to Set Up Python for Machine Learning (The Right Way)
AI-generated ML code can run successfully while still containing subtle mistakes that waste hours or days of training. The video shows how to set up a reliable Python ML workflow with the right tools, validation steps, and verification habits to catch problems before expensive training runs.

DBLift
DBLift is a Python-native database migration toolkit that brings application-style safety to schema changes with validation, dry runs, SQL previews, rollback support, and CI/CD integration.

Reinforcement Learning for LLMs: The Complete Guide
This is a comprehensive guide to reinforcement learning for LLMs, starting from first principles and building through the policy-gradient algorithms used in modern LLM training. It covers RLHF, verifiable rewards, REINFORCE, PPO, and the newer RL methods being used to improve reasoning, agents, reliability, and efficiency.


💖 Most Popular in the Last Two Weeks

Thinking in Python by Bruce Eckel

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.

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.

Basic Memory
Plain Markdown files, semantic connections, and a knowledge graph that grows with every conversation. Open source, local-first, works with any AI.


📅 Weekly Digests Archive

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

all digests →


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