
CLI tool launches holy war against python's zombie virtual environments, reclaiming gigabytes of forgotten project shame
A new command-line interface (CLI) tool called envoic has been developed to help Python developers manage and clean up their virtual environments. Created by a Python developer, envoic scans directories to discover Python environments, including venv, virtualenv, conda, and plain.env dirs, and reports their size, age, Python version, and stale status. The tool supports safe cleanup workflows and allows users to interactively pick environments to remove or perform non-interactive stale cleanup. Envoic is available on PyPI and GitHub, with documentation available on the project's website. The tool is designed to help developers recover disk space safely and efficiently, with features such as explicit destructive confirmation and symlink-safe deletion. By using envoic, developers can easily identify and remove stale environments, freeing up disk space and improving their workflow. The tool is particularly useful for developers working on multiple Python projects, where old virtual environments can accumulate and consume significant disk space.