https://github.com/hamolicious/mass-pip-packages-uninstall
Quickly and easily removes [almost] all packages installed
https://github.com/hamolicious/mass-pip-packages-uninstall
cleanup-script pip python
Last synced: 3 months ago
JSON representation
Quickly and easily removes [almost] all packages installed
- Host: GitHub
- URL: https://github.com/hamolicious/mass-pip-packages-uninstall
- Owner: hamolicious
- Created: 2022-08-29T18:44:09.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-29T18:45:53.000Z (over 2 years ago)
- Last Synced: 2025-01-07T05:26:00.556Z (5 months ago)
- Topics: cleanup-script, pip, python
- Language: Python
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mass-PIP-Packages-Uninstall
Quickly and easily removes [almost] all packages installedI 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](https://github.com/hamolicious/Mass-PIP-Packages-Uninstall/blob/master/whitelist.json) packages.
## How To Use
Extremely simple, modify the [whitelist.json](https://github.com/hamolicious/Mass-PIP-Packages-Uninstall/blob/master/whitelist.json) file by adding only the packages you want to be kept... then run:```bash
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
```