chris48s

chris48s @chris48s

Joined:
May 3, 2021

chris48s
articles - 5 total

Identifying Abandoned PyPI Packages

Relying on abandoned and deprecated packages in our applications is generally something we want to...

Learn More 0 0Aug 23 '24

Failing the CI build if django migrations are out of date

A common mistake in django is to make a model change but forget to run makemigrations to generate a m...

Learn More 4 0May 12 '21

Three useful pathlib snippets

from pathlib import Path p = Path('/foo/bar') # Read in a text file text = (p / 'file.txt').read_t...

Learn More 6 0May 6 '21

Pathlib Cheat Sheet

>>> from pathlib import Path >>> f = Path.home() / 'foo.tar.gz' # same as f = Path...

Learn More 5 0May 6 '21

Editing Commit Timestamps in Git

I always forget that GitHub shows commits in a pull request in timestamp order rather than tree/histo...

Learn More 4 0May 3 '21