Skip to content

hamolicious/Mass-PIP-Packages-Uninstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Mass-PIP-Packages-Uninstall

Quickly and easily removes [almost] all packages installed

I keep forgetting to create a virtual env for my packages and end up with thousands of different packages installed. This simple script aims to make cleanup easier by removing all but the whitelisted packages.

How To Use

Extremely simple, modify the whitelist.json file by adding only the packages you want to be kept... then run:

python main.py

Sit back and wait for mass massacre to finish and you will be left with a beautiful pip list output.

Package    Version
---------- -------
pip        22.0.4
requests   2.27.1
setuptools 62.1.0
wheel      0.37.1

About

Quickly and easily removes [almost] all packages installed

Topics

Resources

Stars

Watchers

Forks

Languages