PythonHub
2.63K subscribers
2.35K photos
50.4K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
The Polars vs SQL differences nobody is talking about

This post explores important differences between Polars and SQL that can cause unexpected results when moving between the two, including row ordering, column independence, literals, null handling, and broadcasting. It explains how understanding these different mental models can help developers write safer Polars code and more reliably translate data workflows between Polars and SQL.

https://labs.quansight.org/blog/polars-vs-sql-differences
OpenFlight

OpenFlight is an open-source golf launch monitor built around the OPS243-A Doppler radar, with an optional TI IWR6843 angle radar.

https://github.com/jewbetcha/openflight
PyAdventure — a free Python learning game built with Pygame

Learn Python across 10 worlds, each teaching one topic, ending in a boss battle. Free, Windows.

https://khalidmfy.itch.io/pyadventure
15 Python Libraries That Deserve More Attention

This is a roundup of 15 Python libraries that can make code cleaner, faster, and easier to maintain across areas like configuration, serialization, testing, scheduling, and UI development. It also highlights practical tools for dependency injection, state machines, data analysis, and more reliabledatetimehandling.

https://www.youtube.com/watch?v=ssLO99uwPWI
Origintracer

A low-level asynchronous web framework observability system. The system can trace nginx, gunicorn, Uvicorn, django and celery.

https://origintracer.app/docs/
When str.lower() is a security vulnerability in Python

A Python security vulnerability caused IDNA 2003 handling to use the interpreter’s current Unicode case-folding rules instead of the Unicode 3.2 rules required by the specification.The fix makes Python’s case-folding behavior match Unicode 3.2 for StringPrep, restoring standards-compliant IDNA encoding and addressing CVE-2026-17084.

https://sethmlarson.dev/when-str-lower-is-a-security-vulnerability
The Mullet Stack - JavaScript in the front, Python in the back.

This is a practical guide to building a modern full-stack application with FastAPI and Pydantic on the Python backend and React and TypeScript on the frontend. It explores how their different type systems work together and shows how generating frontend types from FastAPI’s OpenAPI schema prevents backend and frontend models from drifting apart.

https://seanhelvey.com/mullet-stack/guide/
What's missing to have reproducible builds on PyPI

The article explores what Python packaging is missing to support reproducible builds on PyPI, allowing third parties to verify that distributions match their source code and haven't been tampered with. It proposes recording source information and build tools, using SBOMs, and having trusted verifiers report successfully reproduced packages back to PyPI.

https://snarky.ca/whats-missing-to-have-reproducible-builds-on-pypi/