Skip to main content

use this pkg to show all the packages installed by pip in JSON form.

Project description

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

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

pip_pkg_info-0.1.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pip_pkg_info-0.1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file pip_pkg_info-0.1.0.tar.gz.

File metadata

  • Download URL: pip_pkg_info-0.1.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.12 Windows/11

File hashes

Hashes for pip_pkg_info-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6f274ef81d7aab94820f48cb7f0c9eece69174d4a40071cc9e3c5da0d7218111
MD5 2f19a61dd4d9ad6129829c4b9b08b257
BLAKE2b-256 8ec2e7e27d9556552ead4cd39452e2010b7d163506979b65679475b53425592e

See more details on using hashes here.

File details

Details for the file pip_pkg_info-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pip_pkg_info-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.12 Windows/11

File hashes

Hashes for pip_pkg_info-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a6cf54421d9841969b7657bf69be3222f72a4f889f1cc63577f79b193757636
MD5 c86e023b51ac078ea7329983e640ea8b
BLAKE2b-256 661d26e942f5cfe33c179b61101a3a5057b11e5250e152065f592b4678711957

See more details on using hashes here.

Supported by

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