PythonHub
2.55K subscribers
2.35K photos
50.2K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Build real agentic apps using CUGA: two dozen working examples on a lightweight harness

Building an agent is mostly plumbing: tools, state, guardrails, scaling from one agent to many. CUGA (pip install cuga), short for Configurable Generalist Agent, the Agent Harness for the Enterprise from IBM handles that, so you write just a tool list and a prompt. We built two-dozen single-file apps to prove it. Read one end to end here, then see how the same agent runs sovereign and go...

https://huggingface.co/blog/ibm-research/cuga-apps
Unlimited-OCR

Unlimited-OCR is Baidu’s open-source OCR model for one-shot long-horizon document parsing, designed to read multi-page documents in a single pass instead of chunking them.

https://github.com/baidu/Unlimited-OCR
Scripting good practices in Python

SummaryYou can make your scripts just a little nicer with some tweaks:Use inline dependencies if ...

https://www.bitecode.dev/p/scripting-good-practices-in-python
👍2
A small matrix task runner for Python projects using Astral uv.

uv-matrix runs the same project tasks across Python versions, dependency variants, extras and arbitrary task variants defined in pyproject.toml.

https://github.com/atsuoishimoto/uv-matrix
Django security releases issued: 6.0.7 and 5.2.16

Django 6.0.7 and 5.2.16 fix three low-severity security issues involving cached Set-Cookie responses, GDALRaster heap buffer over-read, and DomainNameValidator accepting newlines. The Django team recommends upgrading supported versions as soon as possible, with patches applied to main, 6.1 beta, 6.0, and 5.2 branches.

https://www.djangoproject.com/weblog/2026/jul/07/security-releases/
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.

https://github.com/OthmanAdi/planning-with-files
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.

https://modernpython.io/serving-a-frontend-with-fastapi-a-practical-guide/
3