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

Stario is a Python web framework for real-time hypermedia. While most frameworks treat HTTP as request → response, Stario treats connections as ongoing conversations - open an SSE stream, push DOM patches, sync reactive signals.

https://github.com/bobowski/stario
Python Essentials for AI Agents – Tutorial

This Python course will help you master the technical stack behind autonomous intelligence. This course is designed to take you from the core syntax of Python through the complexities of data handling and API integration, culminating in the deployment of sophisticated Large Language Models. You will learn to write code and to architect systems that can reason, use tools, and solve real-w...

https://www.youtube.com/watch?v=UsfpzxZNsPo
OAUTH on client-side with Python

An overview of OAUTH in non-web apps and the general data-flow of an OAUTH Client.

https://jakabszilard.work/posts/oauth-in-python
Rendering 18,000 videos in real-time with Python

Learn how the author used game engine tech to solve a video streaming problem.

https://madebymohammed.com/pysaic
🔥1
CLI subcommands with lazy imports

The post explains that Python 3.15’s new lazy imports feature is great for CLI tools, but naïve argparse subcommand patterns accidentally force all lazy imports to execute early, negating the benefit. It then shows two simple patterns that preserve laziness for subcommands: dispatching with a match statement, or wrapping lazy-imported callables in lambdas so they are only reified when th...

https://snarky.ca/subcommands-with-lazy-imports/
Capturing Plots in R and Python: A Tale of Two Architectures

This post explains how plot capture works differently in Python and R: in Python (especially Jupyter) all figure output goes through a single display system that makes automatic capture reliable, whereas in R the graphics architecture has no central display layer so capturing plots is harder and often requires explicit publishing. It contrasts the architectural reasons behind these diffe...

https://blog.gofigr.io/posts/capturing-plots-in-r-and-python
Properties vs Methods in Python: What Your Code Is Promising

The video explains when to use a property versus a method in Python, highlighting how each communicates different expectations around cost, side effects, and behavior. It also argues that async properties are typically a design smell and shows how to keep asynchronous work explicit while maintaining clean object design.

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