Skip to main content

Cleanup

The Cleanup page scans your system for disk space that pip has accumulated over time - download caches, build artefacts, and bytecode directories - and lets you delete them selectively or all at once.

Cleanup page


What Gets Scanned

TargetWhat it isTypical size
pip download cacheCached wheel and sdist files stored by pip to speed up re-installsCan grow to hundreds of MB over time
.egg-info directoriesMetadata directories left behind by editable (pip install -e) installs and older setuptools buildsUsually small (KBs each) but they accumulate
__pycache__ foldersCompiled Python bytecode .pyc files generated by the interpreterGrows proportionally to project size

Running a Cleanup

  1. Navigate to the Cleanup page. Cokpyt automatically scans for each category and shows the discovered size next to each item.
  2. Check the boxes next to the items you want to remove.
  3. Click Run Cleanup.

Cokpyt deletes the selected artefacts and displays a summary showing how much disk space was recovered.


Safety Notes

  • pip cache - safe to delete at any time. pip will re-download packages if needed; you just lose the offline-install speedup.
  • .egg-info directories - safe to delete for packages that are no longer under active development on your machine. Editable installs may regenerate them on the next import.
  • __pycache__ folders - safe to delete at any time. Python regenerates .pyc files on demand; you may notice a one-time slowdown on the next import.
tip

Running Cleanup periodically (especially after removing many packages) is a quick way to reclaim gigabytes on developer machines.