1140
News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
Wheels, Bottles and Images
Simon Willison packaged a Go CLI inside Python wheels, showing that PyPI can distribute platform-specific binaries containing no Python at all. The article compares wheels with Homebrew bottles and OCI images, highlighting their shared model of immutable artifacts and client-side platform selection, along with growing convergence in registry infrastructure and Sigstore attestations.
https://nesbitt.io/2026/07/30/wheels-bottles-images.html
Categorization with NLP
A practical look at building grocery categorization without machine learning, using NLP techniques such as stemming, n-grams, syllable splitting, and spell checking. The author shows how a hand-crafted Python algorithm handles messy real-world inputs and edge cases when training data is scarce.
https://softwaremaniacs.org/blog/2026/07/30/categorization-with-nlp/en/
labs-OO-Agents
NVIDIA Object Oriented Agents: the Pythonic way to build AI Agents.
https://github.com/nvidia-nemo/labs-OO-Agents
Should we standardize docstring formats?
https://www.reddit.com/r/Python/comments/1vjweaj/should_we_standardize_docstring_formats/
Why dict[str, Any] Slowly Destroys Your Code
A Python booking system is refactored from loose dictionaries into a stronger domain model using dataclasses, enums, and value objects. The video shows where stronger types improve maintainability and where keeping a simple string is still the better choice.
https://www.youtube.com/watch?v=lM7zWJRrRtg
smevals
A framework for running evals against small (and large) models
https://github.com/prime-radiant-inc/smevals
LoopX
Lightweight loop engineering state kernel for long-running AI agent teams. Agent-loop agnostic across Codex, Claude Code, and other coding agents, with durable goals, quota-aware auto-wake, executable todos, evidence logs, and verifiable handoffs.
https://github.com/huangruiteng/loopx
What linter rules make code worse?
https://www.reddit.com/r/Python/comments/1vg0amj/what_linter_rules_make_code_worse/
Setting Django's DEBUG safely
Deploying Django with DEBUG=True exposes your app to attackers. Learn why it's risky and how to fail closed so DEBUG=False stays the safe default.
https://lincolnloop.com/blog/setting-djangos-debug-safely/
GeoEq
Geotechnical engineering, solved in Python. 170+ validated functions for soil mechanics, SPT, CPT, bearing capacity, settlement, liquefaction & slope stability. Apache 2.0.
https://github.com/geoeq/geoeq
QueryTuner
AI-Powered SQL Query Diagnostics.
https://github.com/AutoShiftOps/querytuner
Turtle-inspired interactive Python project
https://www.codembark.com/projects/fv20lz9map/spider-web-drawing
dottxt-ai / outlines
Structured Outputs
https://github.com/dottxt-ai/outlines
Self-contained highly-portable Python distributions
https://gregoryszorc.com/docs/python-build-standalone/main/
MappingTools. Do stuff with Mappings and more.
This library provides utility functions for creating, manipulating, and transforming data structures, which have or include Mapping-like characteristics.
https://erivlis.github.io/mappingtools/
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.
https://www.youtube.com/watch?v=chrOym38pw4
Django 6.1 released
Django 6.1 is now available with features including model field fetch modes, database-level ForeignKey delete options, and dictionary-based email settings. Django 6.0 has ended mainstream support and will receive only security and data-loss fixes until April 2027.
https://www.djangoproject.com/weblog/2026/aug/05/django-61-released/
Antra
A desktop music library builder that turns Spotify, Youtube Music Apple Music, Amazon Music, Tidal, Qobuz, and Deezer links into fully tagged local library in FLAC, ALAC, AAC, or MP3.
https://github.com/anandprtp/Antra
Is := widely used?
https://www.reddit.com/r/Python/comments/1vev5k1/is_widely_used/
code_puppy
The sassy AI code agent that makes IDEs look outdated.
https://github.com/mpfaffenberger/code_puppy
Voice-Pro
An AI-powered web application for speech recognition, translation, and dubbing.
https://github.com/abus-aikorea/voice-pro
Projects I Wouldn't Use Python For in 2026
A longtime Python developer reflects on decades of using Python for almost everything, then explains why it is no longer always his first choice and what he often uses instead. It also covers where Python still shines and why it remains an important part of his toolkit.
https://menno.io/presentations/not-python-2026/index.html#/
ADR
ADR secures enterprise AI agents through observability, security benchmarking, and threat detection. Deployed at Uber.
https://github.com/uber/ADR
esp32-ai
Running a 28.9M parameter LLM on a microcontroller.
https://github.com/slvDev/esp32-ai
Python Hub Weekly Digest for 2026-08-09
https://pythonhub.dev/digest/2026-08-09/
mrexodia / ida-pro-mcp
AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
https://github.com/mrexodia/ida-pro-mcp
FastAPI and GraphQL overview - with Strawberry!
In this video, we'll look at GraphQL in a FastAPI app, using the Strawberry package to define types, queries and mutations, and integrating with FastAPI via the GraphQLRouter object.
https://www.youtube.com/watch?v=uSGR6FviCiY
Adrian
Open-source runtime AI agent security tool - monitors and controls AI agents, catching malicious tool use, prompt injection, and policy drift in real time, before the agent acts.
https://github.com/secureagentics/Adrian
XY – Fast, composable, GPU-accelerated Python charting library
https://github.com/reflex-dev/xy
Scaling NumPy on Free-Threaded Python
A recap on the work done in NumPy and CPython to make multi-threaded NumPy workloads scale on the free-threaded build of CPython.
https://labs.quansight.org/blog/scaling-numpy-on-free-threaded-python