PythonHub
2.49K subscribers
2.35K photos
49.9K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
The Hidden Mechanism Behind Clean Python APIs (Descriptor Deep Dive)

Descriptors define how Python resolves attribute access, explaining why values sometimes come from the instance, class, or elsewhere in non-obvious ways. Understanding descriptor rules enables cleaner, more reusable designs by giving you precise control over attribute behavior.

https://www.youtube.com/watch?v=7SUzTOkUVLY
Pydantic AI - Intro to Agentic AI with Pydantic AI framework

We'll look at using Pydantic AI to build agent-based workflows, starting with simple fundamentals, and building up to more complex examples that use vector databases, RAG, multi-agent workflows and more.

https://www.youtube.com/playlist?list=PL-2EBeDYMIbSWGoDzOFm33_5W_ShO-VIi
Fixed Python autocomplete

The post suggests that heavy LSP and static analysis approaches are unnecessary for many common autocomplete scenarios. It shows a lightweight, pattern-based approach can deliver faster, more responsive suggestions without full semantic analysis.

https://matan-h.com/better-python-autocomplete