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

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

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.1.tar.gz (4.8 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.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pip_list-0.1.1.tar.gz
  • Upload date:
  • Size: 4.8 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.1.tar.gz
Algorithm Hash digest
SHA256 1dc55f2168e054f480d63c14342d146ce9f0d169c24f0e32922d97f1e0f9f1ed
MD5 7fb157fb1a98ec3fbe731fc3717b555e
BLAKE2b-256 d84f6e323138310c7a215019828a081fd98db6d379e3e508748d8c4360724a0a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pip_list-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab4d226fd9ee47dee9373533d9aa0cd170fade21bb5054a739bcf191464abc09
MD5 ffed02754ed2a3c999330efb265a0846
BLAKE2b-256 1c6c968c57326b391aa282bc0f00ec93fe1a658924ff913c69a133662560d503

See more details on using hashes here.

Provenance

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