Skip to main content

Build Status Coverage Status PyPI

Johnnydep

Pretty-print a dependency tree for a Python distribution. A simple example:

$ johnnydep requests
 name                           summary
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 requests                       Python HTTP for Humans.
 ├── certifi>=2023.5.7          Python package for providing Mozilla's CA Bundle.
 ├── charset_normalizer<4,>=2   The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet.
 ├── idna<4,>=2.5               Internationalized Domain Names in Applications (IDNA)
 └── urllib3<3,>=1.26           HTTP library with thread-safe connection pooling, file post, and more.

A more complex tree:

$ johnnydep boto3
 name                                      summary
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 boto3                                     The AWS SDK for Python
 ├── botocore<1.44.0,>=1.43.12             Low-level, data-driven core of boto 3.
 │   ├── jmespath<2.0.0,>=0.7.1            JSON Matching Expressions
 │   ├── python-dateutil<3.0.0,>=2.1       Extensions to the standard Python datetime module
 │   │   └── six>=1.5                      Python 2 and 3 compatibility utilities
 │   └── urllib3!=2.2.0,<3,>=1.25.4        HTTP library with thread-safe connection pooling, file post, and more.
 ├── jmespath<2.0.0,>=0.7.1                JSON Matching Expressions
 └── s3transfer<0.18.0,>=0.17.0            An Amazon S3 Transfer Manager
     └── botocore<2.0a.0,>=1.37.4          Low-level, data-driven core of boto 3.
         ├── jmespath<2.0.0,>=0.7.1        JSON Matching Expressions
         ├── python-dateutil<3.0.0,>=2.1   Extensions to the standard Python datetime module
         │   └── six>=1.5                  Python 2 and 3 compatibility utilities
         └── urllib3!=2.2.0,<3,>=1.25.4    HTTP library with thread-safe connection pooling, file post, and more.

Johnnydep can also attempt to resolve the dependency tree:

$ johnnydep ipython --output-format pinned
ipython==9.13.0
decorator==5.3.1
ipython_pygments_lexers==1.1.1
jedi==0.20.0
matplotlib-inline==0.2.2
pexpect==4.9.0
prompt_toolkit==3.0.52
psutil==7.2.2
Pygments==2.20.0
stack-data==0.6.3
traitlets==5.15.0
parso==0.8.7
ptyprocess==0.7.0
wcwidth==0.7.0
asttokens==3.0.1
executing==2.2.1
pure_eval==0.2.3

Note that pip install lacked a working solver for many years, but pip v20.3 has a new solver (December 2020) which has really improved matters!

Check johnnydep --help for other features and options.

Helpful links

Metadata

Release files for johnnydep 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for johnnydep 2.1.0
File Size Uploaded
johnnydep-2.1.0.tar.gz 25.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for johnnydep 2.1.0
File Interpreter ABI Platform
johnnydep-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 42.7 kB

Release files / johnnydep-2.1.0.tar.gz

Download URL johnnydep-2.1.0.tar.gz
Size 25.5 kB
Tags Source
SHA-256 checksum
How to use checksums
54f05293767aac2d5496f273299bb8d76529f737ba73a6123a65cb52846061ca
BLAKE2b-256 checksum
How to use checksums
2df6f12b82239e1ac6ab9605e231db848574f88f38f25fba9ffa6d12b8024332
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / johnnydep-2.1.0-py3-none-any.whl

Download URL johnnydep-2.1.0-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b26e20ecab20f3ffaa399092ab6b579e41977469605a7ffb884f44811ecd5636
BLAKE2b-256 checksum
How to use checksums
36d256804cf483f644c51e9b8bc65f9a2a3514df6985cd15c7dfb908785a99ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.20.6

2 release files

1.20.3

2 release files

1.20.1

2 release files

1.20.0

2 release files

1.18.0

2 release files

1.17.5

2 release files

1.17.4

2 release files

1.17.3

2 release files

1.17.2

2 release files

1.17.1

2 release files

1.17

2 release files

1.16

2 release files

1.15

2 release files

1.14

2 release files

1.13

2 release files

1.12

2 release files

1.11

2 release files

1.10

2 release files

1.9

2 release files

1.8

1 release file

1.7

1 release file

1.6

2 release files

1.5

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

0.9

1 release file

0.8

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page