cleanpy is a CLI tool to remove caches and temporary files related to Python under whatever directories you tell it to. Cleans out .pyc, .pyo, other cache files and directories.