PythonHub
2.49K subscribers
2.35K photos
49.9K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Expanse

Expanse is a modern Python web application framework focused on developer experience that offers features like transparent dependency injection, a SQLAlchemy-powered database component, and conventions to help build scalable web apps quickly.

https://github.com/expanse-framework/expanse
qrt

This project explores data transfer using a screen-to-camera approach. The idea is simple: encode information into a sequence of QR codes, display them as a video on a screen, and then use a camera to capture and decode the video frames to retrieve the original data.

https://github.com/smyrgeorge/qrt
10 Python Features You’re Not Using (But Really Should)

The video highlights lesser-known but powerful Python features that can significantly improve code readability, safety, and performance. Through practical before-and-after examples, it shows experienced Python developers how small language features can meaningfully level up real-world code.

https://www.youtube.com/watch?v=cXl-AUXHHZY
Django: profile memory usage with Memray

The article shows how to profile Python-based Django apps using Memray to find memory leaks and inefficient allocations by capturing allocation snapshots and comparing them over time. It walks through setup, running profiles locally, analyzing results, and using traces to make targeted improvements that reduce memory usage and improve performance.

https://adamj.eu/tech/2026/01/29/django-profile-memray/
Deploying Python Web Applications with Docker

The post is a hands-on guide explaining why the author migrated his Python web applications to Docker containers, highlighting Docker’s consistent isolation and practical benefits for deployment compared to traditional setups like system Python and virtual environments. It walks through what to include in the container (base image, Python, virtual environment, and WSGI server such as gun...

https://chriswarrick.com/blog/2026/02/06/deploying-python-web-applications-with-docker/
Better Python tests with inline-snapshot

Learn how Pydantic uses inline-snapshot and dirty-equals for better testing.

https://pydantic.dev/articles/inline-snapshot
Python 3.12 vs 3.13 vs 3.14: What Changed and Which Should You Use

Compare Python 3.12, 3.13, and 3.14 side by side. See what changed across free-threading, JIT, t-strings, performance, and library support plus which version you should actually use in 2026.

https://releaserun.com/python-3-12-vs-3-13-vs-3-14-comparison/
Stop Building Ugly APIs: Use the Fluent Interface Pattern

The video walks through refactoring a small Python animation API from a clunky configuration style into a fluent interface that reads like a story using method chaining and domain specific methods. It also explains what the fluent interface pattern is, how it differs from the builder pattern, where it already appears in Python, and when it is appropriate or inappropriate to use.

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