pipdeptree(1)

pipdeptree1

Display dependency tree of the installed python 3 packages display dependency tree of the installed python packages

Usage

pipdeptree [-h] [-v] [-f] [-a] [-l] [-u] [-w [silence,suppress,fail]] [-r] [-p PACKAGES] [-e PACKAGES] [-j] [--json-tree] [--graph-output OUTPUT_FORMAT]

Overview

Dependency tree of the installed python packages

Options

optional arguments:

-h, --help

show this help message and exit

-v, --version

show program's version number and exit

-f, --freeze

Print names so as to write freeze files

-a, --all

list all deps at top level

-l, --local-only

If in a virtualenv that has global access do not show globally installed packages

-u, --user-only

Only show installations in the user site dir

-w [{silence,suppress,fail}], --warn [{silence,suppress,fail}]

Warning control. "suppress" will show warnings but return 0 whether or not they are present. "silence" will not show warnings at all and always return 0. "fail" will show warnings and return 1 if any are present. The default is "suppress".

-r, --reverse

Shows the dependency tree in the reverse fashion ie. the sub-dependencies are listed with the list of packages that need them under them.

-p PACKAGES, --packages PACKAGES

Comma separated list of select packages to show in the output. If set, --all will be ignored.

-e PACKAGES, --exclude PACKAGES

Comma separated list of select packages to exclude from the output. If set, --all will be ignored.

-j, --json

Display dependency tree as json. This will yield "raw" output that may be used by external tools. This option overrides all other options.

--json-tree

Display dependency tree as json which is nested the same way as the plain text output printed by default. This option overrides all other options (except --json).

--graph-output OUTPUT_FORMAT

Print a dependency graph in the specified output format. Available are all formats supported by GraphViz, e.g.: dot, jpeg, pdf, png, svg

Releases

Unchanged in 4 releases since Debian 10 (Buster).

  1. 10–13

Author

This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program.

From python3-pipdeptree 2.2.0-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.