Python Hub Weekly Digest This week in Python news, a video tutorial demonstrates how to turn PostgreSQL into a personalized search engine using Python. The copier-astral project offers a fast Python template with Astral's toolchain. A video highlights 10 lesser-known but powerful Python features, while an article shows how to profile Django apps using Memray. Other notable topics include a minimal Python interpreter written in Rust, speeding up NumPy with parallelism, and a guide on deploying Python web applications with Docker. Interesting projects include nanobot, a lightweight AI assistant, and Auto-Claude, an autonomous multi-agent coding framework. Have a great week and happy coding!
So... Postgres is now basically a search engine? (And it's free)
This video demonstrates how to turn PostgreSQL into a powerful, personalized search engine using the open-source PG text search extension (based on the BM25 algorithm). It provides a technical walkthrough on using Claude Code and UV to build a Python-based system for scraping web content, tracking links, and managing a private knowledge base.
copier-astral
Fast Python project template with Astral's toolchain (uv, ruff, ty) + pytest, MkDocs, Typer, GitHub Actions, Docker
Python as you've never seen it before
10 Python Features You’re Not Using (But Really Should)
The video highlights lesser-known but powerful Python features that can significantly improve code readability, safety, and performance. Through practical before-and-after examples, it shows experienced Python developers how small language features can meaningfully level up real-world code.
Django: profile memory usage with Memray
The article shows how to profile Python-based Django apps using Memray to find memory leaks and inefficient allocations by capturing allocation snapshots and comparing them over time. It walks through setup, running profiles locally, analyzing results, and using traces to make targeted improvements that reduce memory usage and improve performance.
The "LLM-as-Analyst" Trap: A Technical Deep-Dive into Agentic Data Systems
Why the simplest agentic pattern is the most dangerous for factual data operations.
Monty: A minimal, secure Python interpreter written in Rust for use by AI
Speeding up NumPy with parallelism
Parallelism can speed up your NumPy code… and can still benefit from other optimizations.
Stop Building Ugly APIs: Use the Fluent Interface Pattern
The video walks through refactoring a small Python animation API from a clunky configuration style into a fluent interface that reads like a story using method chaining and domain specific methods. It also explains what the fluent interface pattern is, how it differs from the builder pattern, where it already appears in Python, and when it is appropriate or inappropriate to use.
Better Python tests with inline-snapshot
Learn how Pydantic uses inline-snapshot and dirty-equals for better testing.
Rewriting pycparser with the help of an LLM
Eli describes how he used an LLM coding agent (Codex) to help rewrite the popular Python C parser pycparser, replacing its old PLY based parser with a hand-written recursive descent parser that passes the full test suite and is easier to maintain. He found the experience efficient and insightful, noting the agent did most of the heavy work in far less time than doing it manually while hi...
Webmentions with batteries included
A zero-cost library to integrate Webmentions in your website.
Deploying Python Web Applications with Docker
The post is a hands-on guide explaining why the author migrated his Python web applications to Docker containers, highlighting Docker’s consistent isolation and practical benefits for deployment compared to traditional setups like system Python and virtual environments. It walks through what to include in the container (base image, Python, virtual environment, and WSGI server such as gun...
How the Self-Driving Tech Stack Works
The article breaks down the core components of an autonomous driving stack, including sensing (cameras, lidar, radar), perception (object detection and tracking), planning (behavior and trajectory), and control (actuation and safety). It explains how these layers interact in real time, the trade-offs between different sensors and algorithms, and practical considerations for building and ...
Python 3.12 vs 3.13 vs 3.14: What Changed and Which Should You Use
Compare Python 3.12, 3.13, and 3.14 side by side. See what changed across free-threading, JIT, t-strings, performance, and library support plus which version you should actually use in 2026.
Calling Lean Functions As Python Functions
Philip Zucker introduces leancall, a Python library designed to bridge the gap between Lean 4 and Python by allowing Lean functions to be called as native Python functions. He demonstrates its utility through practical examples like balancing a Cartpole in a reinforcement learning environment and building a ray tracer, highlighting Lean's performance benefits while leveraging Python's va...
disler / claude-code-hooks-mastery
Master Claude Code Hooks
Text classification with Python 3.14's ZSTD module
Making Pyrefly Diagnostics 18x Faster
Learn about the recent performance improvements made to Pyrefly's language server capabilities.
cysqlite - a new sqlite driver
Charles Leifer introduces cysqlite, a from scratch DB API compatible SQLite driver he revived after pysqlite3 became harder to maintain and less compelling long term. The main focus is sane transaction handling that matches SQLite’s default behavior, avoids Python sqlite3’s confusing autocommit and legacy modes, and provides a cleaner base for SQLite extensions and Peewee integration.
Creating Reddit Summaries with URL Context and Gemini
Raymond Camden demonstrates using the Gemini API's "URL Context" tool to scrape and summarize Reddit threads without relying on Reddit's restricted APIs. He also shares a "double-prompting" workaround to convert the unstructured URL summaries into a precise JSON format, since Gemini currently disables structured output when using the URL tool.
Copy-and-patch compiler for hard real-time Python
Python Hub Weekly Digest for 2026-02-15
VOOG – Moog-style polyphonic synthesizer in Python with tkinter GUI
nanobot
nanobot is an ultra-lightweight personal AI assistant inspired by Clawdbot. Delivers core agent functionality in just ~4,000 lines of code — 99% smaller than Clawdbot's 430k+ lines.
Arbalister
Dataframe viewer for Jupyter over Arrow.
Auto-Claude
Autonomous multi-agent coding framework that plans, builds, and validates software for you.
knowledge-work-plugins
Open source repository of plugins primarily intended for knowledge workers to use in Claude Cowork.
PyNote
A lightweight, browser-based Python notebook editor that runs entirely client-side using WebAssembly (via Pyodide), so it needs no server or installation.
microgpt.py
Train and inference GPT in 243 lines of pure, dependency-free Python.
memory_graph
Teaching tool and debugging aid in context of references, mutable data types, and shallow and deep copy.
PentestAgent
PentestAgent is an AI agent framework for black-box security testing, supporting bug bounty, red-team, and penetration testing workflows.
ACE-Step-1.5
The most powerful local music generation model that outperforms most commercial alternatives
review-prompts
AI-assisted code review prompts for Linux kernel and systemd development. Works with Claude Code and other AI tools.
tokentap
Intercept LLM API traffic and visualize token usage in a real-time terminal dashboard. Track costs, debug prompts, and monitor context window usage across your AI development sessions.
InstaCloud
Cloud Storage using Instagram.
django-orbit
A modern debugging and observability tool that orbits your Django application without touching it.
trueform
Real-time geometric processing. Easy to use, robust on real-world data.
distil-text2sql
Query your data in plain English with a fine-tuned Text2SQL model.
airs-bench
An AI Research Science benchmark for quantifying the end-to-end AI research abilities of LLM agents.
mini-swe-agent
The 100 line AI agent that solves GitHub issues or helps you in your command line. Radically simple, no huge configs, no giant monorepo—but scores >74% on SWE-bench verified!
qrt
This project explores data transfer using a screen-to-camera approach. The idea is simple: encode information into a sequence of QR codes, display them as a video on a screen, and then use a camera to capture and decode the video frames to retrieve the original data.
Expanse
Expanse is a modern Python web application framework focused on developer experience that offers features like transparent dependency injection, a SQLAlchemy-powered database component, and conventions to help build scalable web apps quickly.
Zoocache
Semantic dependency based cache with high performance and concurrency in mind.
Project by Ruslan Keba. Since 2012. Powered by Python. Made in 🇺🇦Ukraine.