SkillAgentSearch skills...

Pipdeptree

A command line utility to display dependency tree of the installed Python packages

Install / Use

/learn @tox-dev/Pipdeptree
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

View on GitHub
GitHub Stars3.0k
CategoryDevelopment
Updated6h ago
Forks157

Languages

Python

Security Score

100/100

Audited on Mar 27, 2026

No findings