PythonHub Logo Python Hub Weekly Digest for 2025-04-06

This week in Python, a popular tutorial showed how to use Python to simulate the March Madness tournament. Other highlights include the use of uv and PEP 723 for creating self-contained Python scripts, and the introduction of Xorq, an open-source Python-first Pandas-style pipeline. In the projects section, the Pydantic AI team released a new package, Pydantic Evals. There was also a discussion on the use of async agnostic decorators in Python. Wishing you a good week and happy coding!

๐Ÿ’– Most Popular

I Let Python Pick My March Madness Bracket - Bracket Simulation Tutorial
This tutorial guides viewers through creating a Python program that simulates the March Madness tournament, using team seeds to generate realistic probabilities and predict potential upsets. The program utilizes Python's dataclasses and the random module to build a tournament function that determines the champion.

Notebooks as reusable Python programs

Self-contained Python scripts with uv

Matlab's variable explorer is amazing. What's pythons closest?

Xorq โ€“ open-source Python-first Pandas-style pipelines


๐Ÿ“– Articles

Using uv and PEP 723 for Self-Contained Python Scripts

We hacked Gemini's Python sandbox and leaked its source code (at least some)

Plain โ€“ a web framework for building products with Python

Textcase: A Python Library for Text Case Conversion

coredumpy
coredumpy saves your crash site for post-mortem debugging

Architecture Patterns with Python

Python Hub Weekly Digest for 2025-03-30

Pydantic Evals
Pydantic Evals Brand new package from David Montague and the Pydantic AI team which directly ...


โš™๏ธ Projects


๐Ÿ‘พ Reddits

How to Use Async Agnostic Decorators in Python

Polars vs Pandas

Announcing Kreuzberg V3.0.0

If-if-if or If-elif-elif when each condition is computationally expensive?


← Previous Next →

Project by Ruslan Keba. Since 2012. Powered by Python. Made in ๐Ÿ‡บ๐Ÿ‡ฆUkraine.