Display dependency tree of Python distribution
Project description
Johnnydep
Pretty-print a dependency tree for a Python distribution. A simple example:
$ johnnydep requests
name summary
------------------------- ----------------------------------------------------------------------
requests Python HTTP for Humans.
├── certifi>=2017.4.17 Python package for providing Mozilla's CA Bundle.
├── chardet<3.1.0,>=3.0.2 Universal encoding detector for Python 2 and 3
├── idna<2.8,>=2.5 Internationalized Domain Names in Applications (IDNA)
└── urllib3<1.24,>=1.21.1 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.11.0,>=1.10.77 Low-level, data-driven core of boto 3.
│ ├── docutils>=0.10 Docutils -- Python Documentation Utilities
│ ├── jmespath<1.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
├── jmespath<1.0.0,>=0.7.1 JSON Matching Expressions
└── s3transfer<0.2.0,>=0.1.10 An Amazon S3 Transfer Manager
└── botocore<2.0.0,>=1.3.0 Low-level, data-driven core of boto 3.
├── docutils>=0.10 Docutils -- Python Documentation Utilities
├── jmespath<1.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
Johnnydep can also attempt to resolve the dependency tree:
$ johnnydep ipython --output-format pinned
ipython==6.5.0
appnope==0.1.0
backcall==0.1.0
decorator==4.3.0
jedi==0.12.1
pexpect==4.6.0
pickleshare==0.7.4
prompt-toolkit==1.0.15
pygments==2.2.0
setuptools==40.0.0
simplegeneric==0.8.1
traitlets==4.3.2
parso==0.3.1
ptyprocess==0.6.0
six==1.11.0
wcwidth==0.1.7
ipython-genutils==0.2.0
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
johnnydep-1.12.tar.gz
(15.8 kB
view details)
Built Distribution
File details
Details for the file johnnydep-1.12.tar.gz
.
File metadata
- Download URL: johnnydep-1.12.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34fb58e20875de169f0463ac3d56bb2873c3136f1c5e93fb8252df886b67b789 |
|
MD5 | f01016e8983497018f84397bd1b33bdc |
|
BLAKE2b-256 | dca3616b64b7a7e99f85baa74c0bb7803cfea0bcadd8996a4ef3dbda83862b86 |
File details
Details for the file johnnydep-1.12-py2.py3-none-any.whl
.
File metadata
- Download URL: johnnydep-1.12-py2.py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b111a1bdad164e74d9d8f76c36948845131da2cfd0d5061b8d7e69a4243ba802 |
|
MD5 | 516df15c71a320dfbc410333c3b9e4bc |
|
BLAKE2b-256 | e9f8357dc0979fc5edec1ee29ce4dd075398b37a7c8482fce058461046fe041b |