PythonHub
2.36K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Architecture Patterns with Python

https://www.cosmicpython.com/book/preface.html
Plain – a web framework for building products with Python

https://plainframework.com/
We hacked Gemini's Python sandbox and leaked its source code (at least some)

https://www.landh.tech/blog/20250327-we-hacked-gemini-source-code/
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.

https://www.youtube.com/watch?v=4TFQD0ok5Ao
How we started our async python migration

Have you ever wanted to try an Async Python migration, but were unsure where to start? Read this post to find out!

https://blog.duolingo.com/async-python-migration/
Deploy Django 5.2 from Scratch. Complete Guide

This video provides a tutorial on deploying a Django project to Railway using modern deployment practices and covers setting up Python environments, Git, and configuring Django for production. It demonstrates how to use Railway's platform services to host and deploy Django applications with proper configurations, using Nixpacks or custom Dockerfiles.

https://www.youtube.com/watch?v=A4Pn2lEdoLQ
PyTorch and Python Free-Threading

This post examines multi-threaded parallel inference on PyTorch models using the new No-GIL, free-threaded version of Python. Using a simple 124M parameter GPT2 model that we train from scratch, we explore the novel new territory unlocked by free-threaded Python: parallel PyTorch model inference, where multiple threads, unimpeded by the Python GIL, attempt to generate text from a transfo...

https://trent.me/articles/pytorch-and-python-free-threading/
AI Runner

AI Runner is a local-first tool that allows you to run open-source large language models (LLM) and AI image generators (Stable Diffusion) on your own hardware, without the need for a web server or cloud service.

https://github.com/capsize-games/airunner