Python
Batch Iterating in Pandas
BATCH_SIZE=32 for k,grp in df.groupby(np.arange(len(df))//BATCH_SIZE): # grp is a tiny data...
Times and Dates in Python
The built in datetime library in Python can be a bit rubbish/difficult to use. Pendulum provide...
Python and Gitea
Tips and tricks for Python and Gitea and CI stuff. Use Drone CI for Gitea I use Drone + Gitea for...
CLI Development
Simon Willison has some really interesting/useful advice for building command lines (mirror). I ...
FastAPI
SQLAlchemy and MySQL
Install dependencies for SQLalchemy and MySQL: pip install sqlalchemy pymysql python-dotenv ...
Django
Working with the Django web framework and associated libraries