PythonHub
2.49K subscribers
2.35K photos
49.9K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Build a smart financial assistant with LlamaParse and Gemini 3.1

Learn how to extract high-quality data from complex, unstructured PDFs using LlamaParse powered by Gemini 3.1 Pro. This guide demonstrates an event-driven workflow to automate the parsing of dense financial tables and generate intelligent summaries with Gemini 3.1 Flash. Perfect for developers building scalable document-parsing pipelines and AI personal finance assistants.

https://developers.googleblog.com/build-a-smart-financial-assistant-with-llamaparse-and-gemini-31/
open-terminal

A lightweight, self-hosted terminal that gives AI agents and automation tools a dedicated environment to run commands, manage files, and execute code — all through a simple API.

https://github.com/open-webui/open-terminal
Starlette 1.0

After nearly eight years since its creation, Starlette has reached its first stable release. Today, it's downloaded almost 10 million times a day, serves as the foundation for FastAPI, and has inspired many other frameworks. In the age of AI, Starlette continues to play an important role as a dependency of the Python MCP SDK.

https://marcelotryle.com/blog/2026/03/22/starlette-10-is-here/
ProperDocs

ProperDocs is a static site generator intended for project documentation. Source files are written in Markdown and converted to static HTML during the build process.

https://github.com/ProperDocs/properdocs
Pydantic AI intro - Agents and Instructions!

In this video, we'll take a look at Agents in Pydantic AI, and will create a simple Agent that can be run synchronously and asynchronously. We'll explore how to inspect agent outputs, and how to amend outputs using instructions that are passed to the LLM.

https://www.youtube.com/watch?v=XyGHYG7QNK0
Lessons from Pyre that Shaped Pyrefly

High-performance type checking at Meta required a performance-first architecture and tight integration with developer workflows, enabling fast, incremental analysis at massive scale. The key lesson is that large Python codebases adopt typing successfully through gradual, low-friction tooling that prioritizes developer ergonomics and fast feedback over strict correctness.

https://pyrefly.org/blog/lessons-from-pyre/
MiniStack

LocalStack is no longer free. MiniStack is a fully open-source, zero-cost drop-in replacement. Single port · No account · No license key · No telemetry · Just AWS APIs, locally.

https://github.com/Nahuel990/ministack
Rewriting a 20-year-old Python library

The article covers a full rewrite of the Akismet Python client to add async support, modern HTTP handling, and a richer response model while preserving usability. It emphasizes API ergonomics, testing support, and maintainability, while honoring the original author and evolving the library for modern Python.

https://www.b-list.org/weblog/2026/mar/23/20-year-library/
Deploying AI Models with Hugging Face – Hands-On Course

This tutorial is a comprehensive, end-to-end guide to the Hugging Face ecosystem, showing how modern AI moves from research ideas to real, deployed systems. Rather than focusing on a single model or task, the course presents Hugging Face as the operating system of modern AI—connecting models, datasets, libraries, demos, and deployment into one coherent, practical workflow.

https://www.youtube.com/watch?v=R8h_gpSpEVU