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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aclib.pip-0.0.1.tar.gz
.
File metadata
- Download URL: aclib.pip-0.0.1.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84c45a607dc936743d9b40f8da9444da17b23cc7d976d24882bb7ac7d375d3c2 |
|
MD5 | 9bd7bc8cbb9cb3ec431337a58e573473 |
|
BLAKE2b-256 | ed77442a9e41d22f62efced5667c424c87e6c5a77a4387f1acecf5842ee7cb4b |
File details
Details for the file aclib.pip-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: aclib.pip-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ab8db44cd78fbc5622ee2f7943508c9a25114a4dd0943333707c93dca365538 |
|
MD5 | dbb946f457eb38247ad226ee691e61fe |
|
BLAKE2b-256 | 70f4385b3654ad1116c348fd02296c338afd1180a3f5e0ffb1cb14e336c69a39 |