pip_pkg_info
use this pkg to show all the packages installed by pip in JSON form.
Install
pip install pip-pkg-info
Usage
python usage:
import pip_pkg_info
# install pkg
pip_pkg_info.install_pkg("<package-name>")
pip_pkg_info.install_pkg("<package-name>", "<version>")
# remove pkg
pip_pkg_info.uninstall_pkg("<package-name>")
# remove all pkg (will NOT remove pip)
pip_pkg_info.remove_all()
pip_pkg_info.remove_all(self_keep=False) # remove pip_pkg_info
command line usage:
# show packages info in JSON
python -m pip_pkg_info
# remove_all pkg (except pip and pip_pkg_info)
python -m pip_pkg_info remove_all
Metadata
Release files for pip-pkg-info 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pip_pkg_info-0.1.0.tar.gz | 6.2 kB | Without provenance | Details for pip_pkg_info-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pip_pkg_info-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pip_pkg_info-0.1.0-py3-none-any.whl |
Total release size: 15.5 kB
Release files / pip_pkg_info-0.1.0.tar.gz
| Download URL | pip_pkg_info-0.1.0.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f274ef81d7aab94820f48cb7f0c9eece69174d4a40071cc9e3c5da0d7218111
|
|
BLAKE2b-256 checksum How to use checksums |
8ec2e7e27d9556552ead4cd39452e2010b7d163506979b65679475b53425592e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.13.12 Windows/11
|
Release files / pip_pkg_info-0.1.0-py3-none-any.whl
| Download URL | pip_pkg_info-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a6cf54421d9841969b7657bf69be3222f72a4f889f1cc63577f79b193757636
|
|
BLAKE2b-256 checksum How to use checksums |
661d26e942f5cfe33c179b61101a3a5057b11e5250e152065f592b4678711957
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.13.12 Windows/11
|
Security for pip-pkg-info 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.