PythonHub Logo Python Hub Weekly Digest for 2026-07-19

Python Hub Weekly Digest cover

This week in Python, we’re diving into the deep end with a new frozendict type that's just been accepted into Python 3.15—because nothing says excitement like immutability! Meanwhile, keep a discerning eye on PyPI’s Trusted Publishing; it’s less of a "thumbs up" and more of a "proceed with caution" signal, as clarity seems to be just out of reach. And if automating Excel sounds like your idea of a fun Friday night, you’ll want to check out our guide that promises to turn those tedious spreadsheets into a one-click wonder. Have a fantastic week and happy coding—may your imports be swift and your bugs be few!

💖 Most Popular

microsoft / SkillOpt
SkillOpt is a text-space optimizer that trains reusable natural-language skills for frozen LLM agents through trajectory-driven edits, validation-gated updates, and deployable best_skill.md artifacts.

You shouldn't trust Trusted Publishing
The post explains that PyPI Trusted Publishing is an authentication mechanism for machine-to-machine trust between CI/CD workflows and package registries, not a signal that a package is safe or high quality. It shows how Trusted Publishing reduces long-lived credential risk, while warning that users should not treat it like a “green checkmark” because malicious or low-quality packages ca...

cupy / cupy
NumPy & SciPy for GPU

PEP 814: Add frozendict built-in type
The post explains the path from rejected PEP 416 and stalled PEP 603 to accepted PEP 814, which adds a built-in frozendict type to Python 3.15. It covers how frozendict works, why it is hashable only when values are hashable, where the standard library now supports it, and what C/Python code may need to update.

A peek into Reddit's anti-spam internals
How Reddit accidentally leaked its spamurai system.


📖 Articles

Protobuf-py: Protobuf for Python, without compromises

Automate Excel with Python: From manual grind to one-click workflow

Celery on AWS ECS - Complete Guide
The post explains why running Celery on AWS ECS can cause lost, delayed, duplicated, or never-completed tasks due to ECS shutdown behavior, Celery defaults, prefetching, and timeout edge cases. It recommends safer production settings, shorter/idempotent task design, fan-out or batching, RabbitMQ on Amazon MQ, and Redis-based locking to make Celery workers more reliable on ECS.

harvard-edge / cs249r_book
Machine Learning Systems

bradautomates / claude-video
Give Claude the ability to watch any video. /watch downloads, extracts frames, transcribes, hands it all to Claude.

Pure-Python symbolic regression that rediscovered Kepler's law from 8 data point

Write a coding agent from first principles: better tools
This tutorial builds on the coding agent you implemented in the tutorial “Write a coding agent from first principles”. In this tutorial, you'll take your agent and improve its capabilities by implementing the text edit and bash command tools that Anthropic provides.

Serving a Frontend with FastAPI: A Practical Guide
A practical guide to FastAPI's new app.frontend(), SPA fallback, API route priority, and a complete mini dashboard example.

Hamiltonian Neural Networks from a Differential Geometry Perspective
The post explains Hamiltonian Neural Networks through differential geometry, showing why a normal MLP can fit motion data but still invent or lose energy over long rollouts. It shows that by learning a scalar Hamiltonian and deriving motion through the symplectic gradient, HNNs make energy conservation structurally unavoidable instead of hoping the network learns it from data.

Sandboxing an AI Agent
The post explains why autonomous AI agents should run in isolated sandboxes instead of directly on a developer’s laptop, especially as agents gain auto-approval, long-running tasks, file access, and network access. It compares sandbox architectures, from tool-backend setups to agents living fully inside the sandbox, and explains the tradeoffs across security, secrets, streaming, performa...

Miles: A PyTorch-Native Stack for Large-Scale LLM RL Post-Training
Miles is an open source PyTorch-native framework for large-scale LLM reinforcement-learning post-training, combining SGLang for rollouts, Megatron-LM for training, Ray for orchestration, and PyTorch for extensibility. The post explains how Miles handles the hard systems problems behind frontier RL, including async rollout/training, fast weight sync, MoE alignment, low-precision recipes, ...

Runloom – Go-style coroutines for Python free-threaded

Otary – Image and Geometry Python Library Now Has Tutorials

Python Hub Weekly Digest for 2026-07-12


⚙️ Projects

planning-with-files
Persistent file-based planning for AI coding agents and long-running agentic tasks. Crash-proof markdown plans that survive context loss and /clear, plus a deterministic completion gate and multi-agent shared state on disk. Manus-style. Works with Claude Code, Codex CLI, Cursor, Kiro, OpenCode and 60+ agents via the SKILL.md standard.

How to publish to PyPI using GitHub Actions securely
The post gives three practical steps for publishing Python packages to PyPI more securely from GitHub Actions: run zizmor, use Trusted Publishing, and require manual approval through GitHub environments. It focuses on reducing credential risk by removing long-lived PyPI tokens, pinning actions, limiting workflow permissions, disabling persisted checkout credentials, and adding a human ap...

fortress
Stealth Chromium engine that stops scrapers and browser agents from getting blocked, with one line of code change.

ipblocklist
IP lists full of bad IPs - Updated every 2H.

antigravity-sdk-python
A Python library for building AI agents that leverage the full power of Google Antigravity.

TabFM
TabFM (Tabular Foundation Model) is a scikit-learn compatible tabular foundation model. It allows you to perform zero-shot classification and regression on tabular datasets with mixed column types out-of-the-box.

ProtoMotions3
A GPU-Accelerated Framework for Simulated Humanoids.



← Previous

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