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.2.tar.gz (4.9 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.2-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pip_list-0.1.2.tar.gz
  • Upload date:
  • Size: 4.9 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.2.tar.gz
Algorithm Hash digest
SHA256 42d359325c116d5b8786a057150253c4d003f5a9ee53195d7fe046ffa6fab469
MD5 a632cf9f49e708857eda67e249d1fc20
BLAKE2b-256 b3fe5371cf1b74f7bae7d9b1ff19f6f72fe9a51eeb905c57e5b799f1bb8884f2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pip_list-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9e3bd253bd1a1e9036ac282f1d6ed65a80f89ac8a1aa64a11e620c8d2b067052
MD5 d6e5285b6bec8416898b278fce493576
BLAKE2b-256 19a5823b0b2d03743e3e3ba52d4989318c9dd5357ab989311cbec3bcf9cbe06b

See more details on using hashes here.

Provenance

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