A command line utility to display dependency tree of the installed Python packages
pythonpipdependency-graph
Key Metrics
Star Growth
Stars
3k
Forks
162
Weekly Growth
—
Issues
0
1k2k3k
Jan 2023Aug 2023Mar 2024Oct 2024May 2025Dec 2025Jul 2026
Artifactscrates.iocargo add pipdeptree
README
pipdeptree
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.
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.