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.5.tar.gz (5.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_list-0.1.5-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pip_list-0.1.5.tar.gz
  • Upload date:
  • Size: 5.2 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.5.tar.gz
Algorithm Hash digest
SHA256 a25f07da8c183985a8967fe29480855617834bf7df506d08dca300b1c3bfed7f
MD5 f1ee12b09b743e7552588bf1c30766cf
BLAKE2b-256 1a7e8290236a2cb15b0fa81ccc473bb394f2da44ea7d416af46c96f4270e3dee

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pip_list-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ffe5fbda71e6cf57925ea715171c4a83a8b66a2f61399078810b7cf377889156
MD5 fc320d6d186eb778eeac412e843afe57
BLAKE2b-256 d1e805fface5cd194e21e2140624ac82bf3feaf0caf3e81820100cdf40be64b5

See more details on using hashes here.

Provenance

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