About

Python leaves compiled byte code in project directories under the __pycache__ directories. Building packages also creates artifacts in project directories.

This simple script will delete those build, caching and packaging artifacts for you.

Script

The following depends on aiopath, which can be found here or installed via PyPI.