PythonHub
2.44K subscribers
2.35K photos
49.2K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
The unreasonable effectiveness of f-strings and re.VERBOSE

A look at one or two ways to make life easier when working with Python regular expressions.

https://death.andgravity.com/f-re
CogDB

Micro Graph Database for Python Applications.

https://cogdb.io/
Tetra

A full stack component framework for Django using Alpine.js

https://www.tetraframework.com/
Multitenancy with FastAPI, SQLAlchemy and PostgreSQL

Find out how to split your tenant data using PostgreSQL, extend your FastAPI backend to handle multitenancy and perform migrations with Alembic.

https://mergeboard.com/blog/6-multitenancy-fastapi-sqlalchemy-postgresql/
TDD Practice: Time API with Django

Let's learn some TDD tricks by building a small API with Django. Treat this like a Kata. Follow the steps below exactly the first time through, then practice by completing the task a second time by yourself.

https://brntn.me/blog/django-tdd-practice-time-api/
How To Write Unit Tests For Existing Python Code // Part 1 of 2

This video shows you a practical example of adding unit tests to existing code. This first part focuses on adding tests while not changing the original code. The second part will show how refactoring the code simplifies test writing while also improving the design.

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