Skip to main content

Command line utility to show dependency tree of packages.

Project description

pipdeptree

PyPI PyPI - Python Version Downloads Documentation PyPI - License check

A command-line utility for displaying installed Python packages as a dependency tree. While pip freeze shows a flat list, pipdeptree reveals which packages are top-level and what they depend on, including conflicting or circular dependencies.

Quick start

pip install pipdeptree
pipdeptree
Flask==0.10.1
  - itsdangerous [required: >=0.21, installed: 0.24]
  - Jinja2 [required: >=2.4, installed: 2.11.2]
    - MarkupSafe [required: >=0.23, installed: 0.22]
  - Werkzeug [required: >=0.7, installed: 0.11.2]

Find out why a package is installed:

pipdeptree --reverse --packages markupsafe

Output as JSON, Mermaid, or Graphviz:

pipdeptree -o json
pipdeptree -o mermaid
pipdeptree -o graphviz-svg > deps.svg

For the full documentation, visit pipdeptree.readthedocs.io.

Project details


Release history Release notifications | RSS feed

This version

3.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pipdeptree-3.0.0.tar.gz (111.4 kB view details)

Uploaded Source

Built Distribution

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

pipdeptree-3.0.0-py3-none-any.whl (67.8 kB view details)

Uploaded Python 3

File details

Details for the file pipdeptree-3.0.0.tar.gz.

File metadata

  • Download URL: pipdeptree-3.0.0.tar.gz
  • Upload date:
  • Size: 111.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pipdeptree-3.0.0.tar.gz
Algorithm Hash digest
SHA256 aa5f74efbe200bd861876986f70f7375cdce8ac54be2052ac317040856c34f3f
MD5 f4c66c6337a8b9b0ea4a98d276cd978b
BLAKE2b-256 a45616057b97f12d3ae8535ba328e9380628fa33454c4976d9375a6b41f7e9af

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-3.0.0.tar.gz:

Publisher: release.yaml on tox-dev/pipdeptree

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

File details

Details for the file pipdeptree-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: pipdeptree-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 67.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pipdeptree-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93b19d66bb28cf526f039471d21bf98fd991976e083e1c7a5fd385e538e25a91
MD5 09b3677ec89efd30ae9b0577f9b9d99a
BLAKE2b-256 c2e831cdd0aae18219e4366249b899c32343e142da230d1d603e85dac5027da2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-3.0.0-py3-none-any.whl:

Publisher: release.yaml on tox-dev/pipdeptree

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