PythonHub
2.37K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Python as a Second Language Empathy

https://ballingt.com/python-second-language-empathy/
My 2025 uv-based Python Project Layout for Production Apps

This video demonstrates how to use uv, a modern Python tool, to transform a simple script into a production-ready application with an optimal project structure. It guides viewers through creating a well-organized FastAPI project, leveraging advanced packaging features like dependency groups, resulting in a scalable and easily shareable codebase.

https://www.youtube.com/watch?v=mFyE9xgeKcA
Programming with LLM Agents in 2025

In this video, Sentdex offers tips and tricks for building with modern LLM agents, using OpenHands as an example but applicable to other web-based UIs and agents. It covers practical advice for leveraging LLMs effectively, with resources including the OpenHands GitHub repository, a neural networks book, and community channels for support and discussion.

https://www.youtube.com/watch?v=WKF__cJTxvg
🔥1
The Best Way to Use Text Embeddings Portably is With Parquet and Polars

This article advocates using Parquet files, paired with the Polars library in Python, as an efficient and portable alternative to vector databases for storing and querying text embeddings in smaller projects. It demonstrates how this approach enables fast similarity searches and metadata filtering, outperforming traditional methods like CSV files and offering a balance between simplicity...

https://minimaxir.com/2025/02/embeddings-parquet/
FastRTC

Turn any python function into a real-time audio and video stream over WebRTC or WebSockets.

https://fastrtc.org/
🔥2
Cracking the Python Monorepo

This article explores using uv and Dagger to manage Python monorepos, aiming to solve challenges like slow CI/CD pipelines and complex dependency management. It details setting up a monorepo with these tools, achieving efficient end-to-end pipeline caching and easy local/CI execution.

https://gafni.dev/blog/cracking-the-python-monorepo/
An Introduction to Flask-SQLAlchemy in Python

This article introduces Flask-SQLAlchemy, a Flask extension simplifying database management by integrating SQLAlchemy with Flask applications. It explains SQLAlchemy's core components (Core and ORM) and demonstrates how Flask-SQLAlchemy streamlines configuration, session management, and querying in Flask-based projects with a practical example.

https://blog.appsignal.com/2025/02/26/an-introduction-to-flask-sqlalchemy-in-python.html
Visualizing F1 race results using Polars and Great Tables

Programmatically create an F1 race analysis table using the FastF1 API, the Great Tables library, and Polars.

https://jimmieyoo.com/posts/F1_Race_Result_Tables_Using_Python_and_Polars_2024_Australian_GP.html
Design of Everyday APIs

What makes a good API for a library? How can you design an API that is delightful to use? This post walks through the principles of what goes into user-centered design and how best to apply those principles when writing a Python library for fellow developers.

https://roguelynn.com/words/everyday-apis