PythonHub
2.44K subscribers
2.35K photos
49.4K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Learning (not) to Handle Exceptions

When you develop code, it is almost impossible not to run into an
error. Some problems are going to ...

https://pythonforthelab.com/blog/learning-not-to-handle-exceptions/
3 Data Science Projects You Can Do Using Python APIs

Use Python APIs to start a data science project in no timeContinue reading on Towards Data Science ...

https://towardsdatascience.com/3-data-science-projects-you-can-do-using-python-apis-d51714a76e55
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