PIPDEPTREE(1)
π PIPDEPTREE(1) π
okay bestie, listen up β this is the manual page for pipdeptree, a User Commands legend, and I'm about to walk you through it like we're texting at 1am. it shows you the dependency tree of your installed Python packages. yes, that dependency tree. the one you've been ignoring. sit down, hydrate, let's go π«Ά
πΈ NAME πΈ
pipdeptree β display dependency tree of the installed Python 3 packages, and also display dependency tree of the installed Python packages. (yes it says both, it's an overachiever, we love that for it π
)
β¨ SYNOPSIS β¨
pipdeptree [-h] [-v] [-f] [-a] [-l] [-u] [-w [{silence,suppress,fail}]]
[-r] [-p PACKAGES] [-e PACKAGES] [-j] [--json-tree] [--graph-output
OUTPUT_FORMAT]
look at all those flags. it's giving main character energy, no cap π
π¦ DESCRIPTION π¦
Dependency tree of the installed python packages. that's the whole vibe. it looks at what you've got installed and maps out who needs who, like a group chat drama diagram but for Python imports π
π OPTIONS π
π optional arguments:
-h,--helpβ show this help message and exit. the classic. the moment you forget a flag, this is your bestie fr fr π-v,--versionβ show program's version number and exit. quick lil identity check β¨-f,--freezeβ Print names so as to write freeze files. you know, for when you need thatrequirements.txtenergy π§-a,--allβ list all deps at top level. everything. all of it. no hiding π-l,--local-onlyβ If in a virtualenv that has global access do not show globally installed packages. stay in your lane, venv π-u,--user-onlyβ Only show installations in the user site dir. just the user-y ones π-w [{silence,suppress,fail}],--warn [{silence,suppress,fail}]β Warning control. okay so this one has lore, let me break it down:"suppress"will show warnings but return 0 whether or not they are present. (this is the default, bestie β that's the one you get if you say nothing at all)"silence"will not show warnings at all and always return 0. zero warnings, zero thoughts, iconic π"fail"will show warnings and return 1 if any are present. the dramatic one. it WILL be messy about it π
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. flip the whole thing around, turn the map upside down π¦-p PACKAGES,--packages PACKAGESβ Comma separated list of select packages to show in the output. If set,--allwill be ignored. you want these specific ones? okay. but just so you know,--allgets ghosted when you do this π»-e PACKAGES,--exclude PACKAGESβ Comma separated list of select packages to exclude from the output. If set,--allwill be ignored. same deal, but this time you're kicking them out of the group chat πͺ and yeah,--allgets ignored here too.-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. it's the "I'm not like other flags" flag. it overrides EVERYTHING π₯--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). so it's the boss of everyone... except--json. the hierarchy is real π--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. pretty pictures!! aesthetic dependency trees!! we love a visual πΈ
π«Ά AUTHOR π«Ά
This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program. king behaviour, honestly π
β οΈ real talk though: that--jsonoverride is a big deal β it eats every other option on the list. and remember-wdefaults to"suppress", so if you're out here expecting warnings to blow up your exit code and they don't? that's why, bestie π
and that's the whole page!! this was pipdeptree version 0.13.0, dated August 2018, and it's still serving looks. stay hydrated, read your dependency trees, and don't let --all catch you ignoring it πβ¨π¦ππ
π¦ where this page comes from
- debian bookworm: python3-pipdeptree 2.2.0-3 Β· MIT
- debian trixie: python3-pipdeptree 2.2.0-3 Β· MIT
- ubuntu jammy: python3-pipdeptree 2.2.0-3 Β· MIT
- ubuntu noble: python3-pipdeptree 2.2.0-3 Β· MIT
- ubuntu questing: python3-pipdeptree 2.2.0-3build1
- ubuntu resolute: python3-pipdeptree 2.30.0-1 Β· MIT
- ubuntu stonking: python3-pipdeptree 2.30.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms