PythonHub
2.41K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
A Better Pygame Mainloop

I’ve written about this
before, but in that
context I was writing mainly about frame-rate ...

https://glyph.twistedmatrix.com/2022/02/a-better-pygame-mainloop.html
PDFs in Django like it’s 2022!

In a previous article I had written a very comprehensive
guide on how to render PDFs in Django ...

https://spapas.github.io/2022/02/14/django-pdfs-2022/
Deploy a Python API on Vercel using Postgres

FastAPI, Vercel, Arctype, and Postgres form a potent stack of software technologies. This article will show you how to build a simple task manager that takes advantage of these modern tools.

https://arctype.com/blog/vercel-python-fastapi/
Public key cryptography: RSA keys

I bet you created at least once an RSA key pair, usually because you needed to connect to GitHub ...

https://www.thedigitalcatonline.com/blog/2018/04/25/rsa-keys/
Interview with Sebastian Ramirez: FastAPI Creator

Learn how FastAPI, a high-performance Python web framework for building APIs, became the 3d most loved framework after just 2 years of existence.

https://flagsmith.com/podcast/fastapi-sebastian-ramirez/
Modal forms with Django+HTMX

This article describes the pattern I use to implement modal forms (i.e., forms in a modal dialog box) with Django and HTMX.

https://blog.benoitblanchon.fr/django-htmx-modal-form/
Enumerate from first principles

In this article, we will use Python to reimplement the built-in enumerate. We will start with a rough solution that doesn't really cut it, and we will rework it bit by bit until we have a full reimplementation of the built-in enumerate.

https://mathspp.com/blog/enumerate-from-first-principles
Data Races in Python, Despite the Global Interpreter Lock

https://verdagon.dev/blog/python-data-races
Brownie: everything you need to know to write, test and deploy your smart contracts.

We’ll walk through and explore all the main areas of functionality and I'll give you some tricks you can use to make your development process more easy.

https://kevdevto.hashnode.dev/brownie-everything-you-need-to-know-to-write-test-and-deploy-your-smart-contracts
(How to Write a (Lisp) Interpreter (In Python)) (2010)

https://norvig.com/lispy.html