Skip to main content

Pipurge

https://img.shields.io/pypi/v/pipurge.svg

Pipurge is a tool that allows you to quickly uninstall Python packages, at system level or in a virtualenv.

Usage

Basic usage:

$ pipurge

  There are 23 packages to uninstall. Proceed? [y/N]: y

  Uninstalling aiodns-1.1.1:
    Successfully uninstalled aiodns-1.1.1

  Uninstalling aiohttp-2.2.5:
    Successfully uninstalled aiohttp-2.2.5

  Uninstalling async-timeout-2.0.0:
    Successfully uninstalled async-timeout-2.0.0

  Uninstalling certifi-2018.11.29:
    Successfully uninstalled certifi-2018.11.29

  ...

You can also use the –keep option to specify certain packages to keep installed. Pipurge will also keep the dependencies of the packages you specify so they stay working.

If you’d like further control over the process, use the –ask option and Pipurge will ask you whether to uninstall each package that’s left.

$ pipurge --keep requests,flask --ask

  Finding dependencies for requests...
    Finding dependencies for certifi...
    Finding dependencies for chardet...
    Finding dependencies for idna...
    Finding dependencies for urllib3...
  Finding dependencies for flask...
    Finding dependencies for Werkzeug...
    Finding dependencies for Jinja2...
      Finding dependencies for MarkupSafe...
    Finding dependencies for itsdangerous...
    Finding dependencies for click...

  There are 3 packages to uninstall. Proceed? [y/N]: y

  Uninstall bleach ? [y/N]: y
  Uninstalling bleach-3.0.2:
    Successfully uninstalled bleach-3.0.2

  Uninstall docutils ? [y/N]: n

  Uninstall faste ? [y/N]: y
  Uninstalling faste-0.2.5:
    Successfully uninstalled faste-0.2.5

  Purge complete!

Metadata

Release files for pipurge 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pipurge 0.2.1
File Size Uploaded
pipurge-0.2.1.tar.gz 4.1 kB Details

Release files / pipurge-0.2.1.tar.gz

Download URL pipurge-0.2.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0a1bf95d42e7893fc3552ca07eec4c64248f95d7bd2a76b38a051132d64a0783
BLAKE2b-256 checksum
How to use checksums
5290d9f412e2bccff4d7ade942e2dc2aca9de7283d4f36609457f21871baacf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file

0.2.0

1 release file

0.1.6

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page