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 Show packages in JSON format

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

Show only packages lesser than 50 MB:

pip-list --max-size 50

Filter packages containing "numpy":

pip-list --filter numpy

Sort by size descending:

pip-list --sort size --desc

Show packages in JSON format:

pip-list --json

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.4.tar.gz (5.1 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.4-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pip_list-0.1.4.tar.gz
  • Upload date:
  • Size: 5.1 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.4.tar.gz
Algorithm Hash digest
SHA256 35bd8d9d43d711f3f5c2ca31428fbf8ac88367ac478fc60d27d558ed7296856c
MD5 b24e93a8966c38868b1037ac6f4e620b
BLAKE2b-256 96b009a434bc84584b8f7cd2ca13475745c77605a9ecdade4ea7ca561946ad30

See more details on using hashes here.

Provenance

The following attestation bundles were made for pip_list-0.1.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: pip_list-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 45b2f64e1912849b0c964f2507caa23d2bd9d7715e4a9c2eb76b0190c7b7a125
MD5 9502c60503fcb723401efd9fe138c9b5
BLAKE2b-256 eb4e3d459eaa118c9ccdd35cf199f9745fabd3b39773cb917306a516b38e6025

See more details on using hashes here.

Provenance

The following attestation bundles were made for pip_list-0.1.4-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