Skip to main content

display packages quickly and uninstall packages with dependencies optionally

Project description

Description

Feature

  • acpip displays packages faster than pip.

  • acpip provides short commands, it make everything so easy.

  • acpip will analyze dependency relationship recursively when uninstall,

    then remind you if uninstalling package is required by other packages or not,

    also list the dependencies which are not required by other packages, except pip and setuptools, you can use option -d to uninstall them together.

    although they are not required by other packages, maybe your project is using some of them independently. so you can select which dependcies not to uninstall before uninstallation start, and if you select one, its dependencies will not be uninstalled either.

About

This is a new project, i couldn't know all about specification of python distribution temporarily, so sometimes i used pip to parse informations, it may be removed in future versions.

Installation

pip install aclib.pip

Usage in command line

usage

python -m aclib.pip <command> [options]
acpip <command> [options]

commands

# list installed packages.
acpip li
acpip ls
acpip list


# show information about all installed packages.
acpip show

# show information about given packages.
acpip show pk1 pkg2 ... pkgn


# uninstall packages.
# use option -y to uninstall without comfirm.
# use option -d to uninstall dependencies together.
acpip uni [-y/-d] pkg1 pkg2 ... pkgn
acpip uninstall [-y/-d] pkg1 pkg2 ... pkgn

Usage in python code

In addition, this module also provides interfaces to access the informations about installed packages.

# import aclib.pip
from aclib.pip import Distribution, SitePackages

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aclib.pip-0.0.1.tar.gz (8.7 kB view hashes)

Uploaded Source

Built Distribution

aclib.pip-0.0.1-py3-none-any.whl (9.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page