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

pipdeptree displays installed Python packages as a dependency tree. pip freeze shows a flat list; pipdeptree adds parent-child relationships and reports dependency conflicts or cycles.

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 packages that require a dependency:

pipdeptree --reverse --packages markupsafe

Output as JSON, Mermaid, or Graphviz:

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

Report package counts, depth, conflicts, cycles, licenses and size:

pipdeptree --summary           # aligned text
pipdeptree --summary -o rich   # styled table
pipdeptree --summary -o json   # machine-readable

Inspect a tree without installing it. Resolve requirements against a package index, or read a resolved PEP 751 lock offline:

pipdeptree from-index "flask"          # i is a shorthand alias
pipdeptree from-index --requirements requirements.txt
pipdeptree from-lock pylock.toml       # l is a shorthand alias

The render flags above, including --summary, work with both subcommands.

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

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

pipdeptree-4.1.0.tar.gz (135.2 kB view details)

Uploaded Source

Built Distributions

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

pipdeptree-4.1.0-pp311-pypy311_pp73-win_amd64.whl (1.7 MB view details)

Uploaded PyPyWindows x86-64

pipdeptree-4.1.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl (1.8 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ x86-64

pipdeptree-4.1.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl (1.5 MB view details)

Uploaded PyPymacOS 11.0+ ARM64

pipdeptree-4.1.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl (1.6 MB view details)

Uploaded PyPymacOS 10.15+ x86-64

pipdeptree-4.1.0-cp314-cp314t-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.14tWindows x86-64

pipdeptree-4.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

pipdeptree-4.1.0-cp314-cp314t-manylinux_2_28_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

pipdeptree-4.1.0-cp314-cp314t-macosx_11_0_arm64.whl (1.5 MB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

pipdeptree-4.1.0-cp314-cp314t-macosx_10_15_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.14tmacOS 10.15+ x86-64

pipdeptree-4.1.0-cp310-abi3-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.10+Windows x86-64

pipdeptree-4.1.0-cp310-abi3-musllinux_1_2_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ x86-64

pipdeptree-4.1.0-cp310-abi3-manylinux_2_28_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

pipdeptree-4.1.0-cp310-abi3-macosx_11_0_arm64.whl (1.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

pipdeptree-4.1.0-cp310-abi3-macosx_10_15_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10+macOS 10.15+ x86-64

File details

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

File metadata

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

File hashes

Hashes for pipdeptree-4.1.0.tar.gz
Algorithm Hash digest
SHA256 6eb7e671ffa06ef597d683680d483a4882a86a2a00494971733bd88a3404c44f
MD5 a49633541a30391738064850789a9d45
BLAKE2b-256 06688b0bca63d885a34bc7f8bcbc001bb9ffdc937fdada1d01d09f9af7785250

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-4.1.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-4.1.0-pp311-pypy311_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for pipdeptree-4.1.0-pp311-pypy311_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 59ad80a10f11ebb6cdb10e1eb23db6100707022ca5948473fc79dc154ca43426
MD5 7c986592c972ee0dea6c71bff7b79f48
BLAKE2b-256 7e29106cf1c7abab0238de7f0f3e3c3508ca3f154ecb0915dd967ea6d114b1b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-4.1.0-pp311-pypy311_pp73-win_amd64.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.

File details

Details for the file pipdeptree-4.1.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pipdeptree-4.1.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fe77670fd4452c2c882af7e22554b24a6d8735ffe2317aa242866753370444ef
MD5 8b0559be0d04d262e558da95ccd31b87
BLAKE2b-256 791619602326958e77f073bae8d27164cd570ceca0364635bb771b87263bb63a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-4.1.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.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.

File details

Details for the file pipdeptree-4.1.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pipdeptree-4.1.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6fc39d443718243b90d574467b20196737de2566816b51ef9bab226f24306c7d
MD5 b74e9772d4db6d30471d728db6788a24
BLAKE2b-256 9d5cc80c4fdc85a92f310b5aa00f810998fe6626c1ff002ec3b6c19648a2e4c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-4.1.0-pp311-pypy311_pp73-macosx_11_0_arm64.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.

File details

Details for the file pipdeptree-4.1.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pipdeptree-4.1.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c2a27c09524e55e1b784f9909f69751d2f2a0ae47d81331e73af3475b694ea42
MD5 cbfb26e80a117cf4ff8a78598839ed5e
BLAKE2b-256 7bceadd12e33d469289fce3acbce0469f5223d775d8506d7e0d2386abff3d636

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-4.1.0-pp311-pypy311_pp73-macosx_10_15_x86_64.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.

File details

Details for the file pipdeptree-4.1.0-cp314-cp314t-win_amd64.whl.

File metadata

  • Download URL: pipdeptree-4.1.0-cp314-cp314t-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.14t, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pipdeptree-4.1.0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 5c71761b139a65b1999457faabc6b34bff436d489d43d95e21a87b60dc0d2147
MD5 331a938c8154a54e0230508dd71bfeda
BLAKE2b-256 e367bc8d1c0cc525406b31eb624af184c7b087c2fe7b843f3381672e99e86e48

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-4.1.0-cp314-cp314t-win_amd64.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.

File details

Details for the file pipdeptree-4.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pipdeptree-4.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c9d4f500fea6b87fe34b63702258e04d58ed26176bf76e7d4f2b1522d87ef440
MD5 bfc4da9e7fc6a2b67285787b91b8a8f9
BLAKE2b-256 8776b585a15db483ba991e4501a7b19dc7af5410524795941ad388db1eaa6c71

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-4.1.0-cp314-cp314t-musllinux_1_2_x86_64.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.

File details

Details for the file pipdeptree-4.1.0-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pipdeptree-4.1.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 86c1b67ebcc72c69a0220496d17ccc411ab3742b4629b1b440a549dd41c78fb3
MD5 dc78f70c243f0222460a53d8dcbef114
BLAKE2b-256 c2ae540df5cf9815c6afff58f72712eed536fdbdb2fb32d747ffb1296cd83522

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-4.1.0-cp314-cp314t-manylinux_2_28_x86_64.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.

File details

Details for the file pipdeptree-4.1.0-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pipdeptree-4.1.0-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 05ebc75af76222d4ca1f7e2ddff66edd6574a21b64985aef543347613d6c5625
MD5 3e1d50e1df36bc70609f5b6c5f9bb406
BLAKE2b-256 4b23a87c3422f21f082cfcf6bfb2ca497bb60d53921e1dc8fed65856ded371ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-4.1.0-cp314-cp314t-macosx_11_0_arm64.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.

File details

Details for the file pipdeptree-4.1.0-cp314-cp314t-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pipdeptree-4.1.0-cp314-cp314t-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 5e40e45804468faff9208ba89ec8c0b3676039461f0601b47b61d255d18a73c4
MD5 02982f46b74255d5bb6cbe64d9c44c3d
BLAKE2b-256 61cb552c88f875d77d0ec810ba70322ace7627e280db4a89c6011bf760272f61

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-4.1.0-cp314-cp314t-macosx_10_15_x86_64.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.

File details

Details for the file pipdeptree-4.1.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: pipdeptree-4.1.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pipdeptree-4.1.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 24a011ed94b4fb3e7a3395e2a705f5b82661263148609704e871a4b820e07cba
MD5 e23cf276ebd72f3bd1fb8392f29c2ffa
BLAKE2b-256 c1075d1835791e82699df0383bc432f4c721e95a8aa40fd3e5b3a0d720d551aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-4.1.0-cp310-abi3-win_amd64.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.

File details

Details for the file pipdeptree-4.1.0-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pipdeptree-4.1.0-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0b48a42f22d1588feab62ce50f65d20dc9d6f8daf70105e5f27fc0dfc553b13c
MD5 c7a81a1581e9776a23d6938dd9f9b749
BLAKE2b-256 a8c23e7d6554759990dab54ad0ce4312534b0ebb0d0a3db9f171f6445298734e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-4.1.0-cp310-abi3-musllinux_1_2_x86_64.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.

File details

Details for the file pipdeptree-4.1.0-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pipdeptree-4.1.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4ac5c99e5305c916c9276689c4a2a00156bf3e72fb6d74da4c7cf9e908034e79
MD5 a8fafce7ecc5d2e129e5448361106f87
BLAKE2b-256 57b45c99186ba900cd5fcabea5ceb15dfb54ba5f0f5c4ac36c8ec50bba39bdb6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-4.1.0-cp310-abi3-manylinux_2_28_x86_64.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.

File details

Details for the file pipdeptree-4.1.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pipdeptree-4.1.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 83a812e9fc901e511209b12cc358b73ba9372af0123901f523407c6d6d46f3ca
MD5 fee0d1b12f86d445aca1403e5edcd662
BLAKE2b-256 f060bd1bfd035dc60b8b1e699da7210c11d23f55e14d5e110169c84dc3c42f88

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-4.1.0-cp310-abi3-macosx_11_0_arm64.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.

File details

Details for the file pipdeptree-4.1.0-cp310-abi3-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pipdeptree-4.1.0-cp310-abi3-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 dd43b6af5990fd2d22c9b2d8b51f0fcf75a9019b79c950d62a12629c0c796306
MD5 2b5d9f0198f80da5ba101be30b963f4b
BLAKE2b-256 6681c1faac2e66ea180149158082e0ecaaac9e21362f23e179d145ed24cb1b12

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-4.1.0-cp310-abi3-macosx_10_15_x86_64.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