Python HubInteresting articles and projects for Python developers.
— x.com/PythonHub
— telegram.me/PythonHub
— mastodon.social/@pythonhub
— bluesky/@pythonhub.dev
— WhatsApp Python Hub Channel
— On Patreon, just $1 per month
Share a news, article or interesting project. Link will be published after manual review.
Subscribe to Python Hub Weekly Digest
A peek into Reddit's anti-spam internals
How Reddit accidentally leaked its spamurai system.
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...
antigravity-sdk-python
A Python library for building AI agents that leverage the full power of Google Antigravity.
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.
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, ...
gzipt
A compression based language model.
Python 3.14 compiled to metal – no interpreter
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...
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.
cupy / cupy
NumPy & SciPy for GPU
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 · 2025-07-06 · 2025-06-29 · 2025-06-22 · 2025-06-15 · 2025-06-08 · 2025-06-01 · 2025-05-25
Project by Ruslan Keba. Since 2012. Powered by Python. Made in 🇺🇦Ukraine.