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.0.0.tar.gz (134.6 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.0.0-pp311-pypy311_pp73-win_amd64.whl (1.7 MB view details)

Uploaded PyPyWindows x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ x86-64

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

Uploaded PyPymacOS 11.0+ ARM64

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

Uploaded PyPymacOS 10.15+ x86-64

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

Uploaded CPython 3.10+Windows x86-64

pipdeptree-4.0.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.0.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.0.0-cp310-abi3-macosx_11_0_arm64.whl (1.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

pipdeptree-4.0.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.0.0.tar.gz.

File metadata

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

File hashes

Hashes for pipdeptree-4.0.0.tar.gz
Algorithm Hash digest
SHA256 2012876c6853ad6cccf4537dd5c07d19ac144c7fceb7ab1ef9e234fa6671c3b9
MD5 70c10ab20a0158245b218c873a924e5b
BLAKE2b-256 c195631bdc59b0f8f0ef8d6b66267fba6a5907278375a255064dbb11dece34ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pipdeptree-4.0.0-pp311-pypy311_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 71301b2b8633ee52069a234a4b20c0d439a53877855fa26dd6de9b53db604cc0
MD5 7e0f0ffb1a1cc18263e7033dcf9f4159
BLAKE2b-256 0c72259240929ba5112357c7d522d38b92a9d50cde511d3e44b962795e55978c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pipdeptree-4.0.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 120ffa0a6aa83439451083daca03d8ea33eb4360d15aeb75e07a010a699d5294
MD5 37bcd602ea48623374f759601dde829b
BLAKE2b-256 ea10158351d8589712174d9cd95ec867065931fd809ad7c985cb074316409b7c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pipdeptree-4.0.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 59bbfab891170bc18cf8343967e9cf97b2d55b39192bd4050891d7c60bdbcab6
MD5 38868b4eed0236a924fb4a1a5cffbe6b
BLAKE2b-256 0d21cb7463040b7f6c55e6e9152565f92e4892c2ca6f205a89e7664301cd28df

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pipdeptree-4.0.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 762ed1cf482cb29f1d3b353051ec44be8e61cb4113c042b80f7159d048df5cb8
MD5 311d5615b2f8c0830f71db4d0b5ba600
BLAKE2b-256 aa565df7ea9c1e69dad7f976d81a387addbdb348f8c2830f5f4dfb39a1554d7a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pipdeptree-4.0.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.0.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0c1fb8de2f5b9be827fe6bb2d96b04d570fb0f75493bf2b7f6d9e886f64ade8e
MD5 d0da77c4943837dbb020d965f48d6336
BLAKE2b-256 075ec94edc6eb96ec8964f8982ba008c4418203701a6928fe21261121ead6996

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pipdeptree-4.0.0-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b0bcf3ef540ec43faac51fecd89afd086e1a1d586244cd0f95d202e9ca8af3b4
MD5 83ec1d2c751a9c43c478c37cff402f75
BLAKE2b-256 803d306f77d95c7045d72aa519f624dd7d1a021c5b1a9146669dab373119d185

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pipdeptree-4.0.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 22b99973c222ea37f2536aad3b58a810d83451d998790e2f6f2a555cb86674ce
MD5 2f7711c0e2e5dca86c20f9a11f7c91b3
BLAKE2b-256 3503fe841a370a9b55a5959220f6462bc45e8ec9a36a7dd54823006260f765c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pipdeptree-4.0.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f71d3fbbbc54199ed9850400f55c1171e4e54dd817d52dc7ee83889c84eccd5c
MD5 afc644591b2ccddae201a4d4cd752c9a
BLAKE2b-256 a8786471605147214e2088dc4f5655cec9931355e2353fa8c631112a2cf0cbe0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pipdeptree-4.0.0-cp310-abi3-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 19ef45b6bc038bd191900dc8f506c374ad66e98d9dc62bf36bafb47e2969b31c
MD5 321d49a03e60ea03a3be3c92fc29d8d0
BLAKE2b-256 93f13516869ac18c17f346ccff6fdb5461ae5281fdfd006d95d91bb5c5c6f922

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipdeptree-4.0.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