Python Hub Weekly Digest This week in Python, the most popular highlights include a lightweight Python CLI + API for managing servers over SSH called remote-cmd, a video explaining how to add webhooks to a FastAPI application, and an article on breaking circular imports in Python without losing type safety. Other interesting topics include an introduction to django-integrity-policy, a package that helps Django applications enforce browser Integrity Policy headers, and a hands-on introduction to TCP sockets. In terms of projects, rustgate, a small FastAPI backend that uses a Rust pyo3 extension for AI token-aware rate limiting backed by Redis, and hiring-agent, an AI agent to evaluate and score resumes, caught attention. Wishing you a productive week and happy coding!
remote-cmd
A lightweight Python CLI + API for managing servers over SSH. Add hosts, run commands, transfer files, target groups by tags - no Ansible DSL required.
Webhooks Explained (+ Clean Implementation)
The video demonstrates how to add webhooks to a FastAPI application and then evolve the design toward an event-driven architecture that decouples integrations from API endpoints. By using events to handle side effects, the approach makes applications more modular, extensible, and easier to maintain as new integrations and workflows are added.
How Servers Work: A Hands-On Introduction to TCP Sockets
Learn how servers actually work by building a tiny TCP server and client from scratch. A hands-on introduction to sockets, TCP, and the network programming model every backend, DevOps, and platform engineer should go through at least once.
Running Python code in a sandbox with MicroPython and WASM
Breaking Circular Imports in Python Without Losing Type Safety
The article explores practical techniques for handling circular imports in Python while preserving static type safety, using a financial modeling framework as a real-world example. It argues that strategically placed local imports and dependency thunks are often the least-bad solution, offering better type checking and maintainability than context dictionaries, builder patterns, or large...
Introduction – Rust for Python Programmers
The Smallest Brain You Can Build: A Perceptron in Python
AI Engineering for Developers
A tour through AI engineering for developers who already know how to ship software. Fourteen chapters, no LinkedIn voice, no slow warm-up. We will go from 'what is a foundation model' to 'how do you run agents in production on Google Cloud' without skipping the parts that matter.
Web Scraping with Python & JavaScript – MERN Stack Full Course
Learn to build robust web scrapers that can defeat modern anti-bot systems. In this full-stack course, you will transition from basic Python scripting to deploying a full MERN dashboard that scrapes and visualizes real-world data from Amazon, Booking.com, Indeed, and the TIOBE Index.
PookieDb
Django-style ORM for SQLite and PostgreSQL. Chainable QuerySet API, migrations, relationships, and an interactive CLI. Works outside Django.
Django: introducing django-integrity-policy
The article introduces django-integrity-policy, a package that helps Django applications enforce browser Integrity Policy headers, protecting against unauthorized or tampered third-party scripts and resources.
Django 6.1 New Features!
In this video, we'll look at new features coming in the Django 6.1 release, including fetch modes, mailers settings, and new database-level on-delete functionality for foreign key relationships.
Pattern Screamer: Subnet Discovery in Networks with Unknown Addressing
This article introduces Pattern Screamer, a reconnaissance tool that uses multi-protocol TTL tracing to discover routers, subnets, and network topology in environments with unknown addressing schemes. By combining heuristic subnet sampling with ICMP, TCP, and UDP probes, it dramatically reduces scan volume while enabling attackers and administrators to map network infrastructure without ...
A User’s Journey with Plugin Playground: From First Idea to Installable JupyterLab Extension.
Plugin Playground lets developers prototype, test, and iterate on JupyterLab extensions entirely from within JupyterLab, eliminating much of the setup and packaging overhead of traditional extension development. The article follows the journey from a simple idea to a publishable extension, showing how Plugin Playground accelerates experimentation and lowers the barrier to building custom...
Agentic RL: Token-In, Token-Out Done Right
Training agentic LLMs with reinforcement learning can silently break when tool-calling workflows re-tokenize model outputs between turns, causing gradients to be applied to sequences the model never actually generated. The article introduces the Token-In, Token-Out (TITO) approach, which avoids re-encoding decoded tokens and preserves training correctness while simplifying multi-turn RL ...
Open-LLM-VTuber / Open-LLM-VTuber
Talk to any LLM with hands-free voice interaction, voice interruption, and Live2D taking face running locally across platforms
The Django Mixin I Add to Almost Every Model
A practical look at TimestampUserMixin — a production-ready Django utility that adds audit fields and user tracking to any model with a single stamp() call.
Symbolica 2.0: Programmable Symbols for Python and Rust
Python Hub Weekly Digest for 2026-06-07
Are you expected to run five Python type-checkers now?
rustgate
Small FastAPI backend that uses a Rust pyo3 extension for AI token-aware rate limiting backed by Redis.
PyTorch Custom Operation
Using PyTorch custom operations is common in PyTorch models. PyTorch custom operations can be custom classes and custom functions implemented in C++ and CUDA and used in both Python and C++ inference programs. This post shares how to implement PyTorch custom operations in C++ and CUDA, and how to use them in PyTorch models and AOTInductor compiled inference programs, using a simple ident...
hiring-agent
AI agent to evaluate and score resumes.
stable-worldmodel
A platform for reproducible world model research and evaluation.
boundless-world-model
High-fidelity world models for general embodied intelligence, such as data engines and world simulators.
EverOS
Build, evaluate, and integrate long-term memory for self-evolving agents.
Archaeologist
A codebase intelligence toolkit that finds dead code, analyzes change impact, scores complexity, detects duplication, and generates interactive codebase graphs.
Project by Ruslan Keba. Since 2012. Powered by Python. Made in 🇺🇦Ukraine.