Skip to main content

List installed pip packages with their installed size, supports sorting and filtering.

Project description

pip_list

A fast and human-readable tool to list installed pip packages with their sizes, supporting sorting, filtering, and more.

Features

  • Lists all installed pip packages with their installed size
  • Sort packages by name or size (ascending/descending)
  • Filter packages by name substring
  • Show only the top N largest packages
  • Show only packages larger than a given size (in MB)
  • Displays total size and package count
  • Fast, uses multi-threading for speed
  • JSON output supported

Installation

pip install pip-list

Usage

pip-list [OPTIONS]

Options

  • --version Show version and exit
  • --sort name|size Sort by name or size (default: size)
  • --desc Sort in descending order
  • --filter TEXT Filter packages by name substring
  • --top N Show top N largest packages only
  • --min-size MB Show packages larger than given size in MB
  • --max-size MB Show packages lesser than given size in MB
  • --json Export to json file

Examples

List all packages sorted by size (default):

pip-list

List all packages sorted by name:

pip-list --sort name

Show top 10 largest packages:

pip-list --top 10

Show only packages larger than 5 MB:

pip-list --min-size 5

Filter packages containing "numpy":

pip-list --filter numpy

Sort by size descending:

pip-list --sort size --desc

License

MIT

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_list-0.1.3.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

pip_list-0.1.3-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file pip_list-0.1.3.tar.gz.

File metadata

  • Download URL: pip_list-0.1.3.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pip_list-0.1.3.tar.gz
Algorithm Hash digest
SHA256 df21e63694cdea17c0b7cd8d50fd5fe7cd9ff38cc5648d56e9efacc6ac79695b
MD5 141a4013151ea0da1f5b7c24ad88e919
BLAKE2b-256 73010d624f57a53673a35afd9b4688787b3c906be5d54a0eb24fd1994f20c62e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pip_list-0.1.3.tar.gz:

Publisher: python-publish.yml on mynkpdr/pip-list

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pip_list-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pip_list-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pip_list-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 38188a5df5a5fb31b8d343996e4c20cc59cc0abb65ef3e58dca0f1a2c338e767
MD5 32d2911837a93dce7148d98ab442b065
BLAKE2b-256 ae354e117898fd3263dd01e7f5dc39d07e2080eca05a54447a138a79fbc0a2c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pip_list-0.1.3-py3-none-any.whl:

Publisher: python-publish.yml on mynkpdr/pip-list

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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