显示Python分发的依赖树
项目描述
Johnnydep
格式化输出Python分发的依赖树。一个简单的例子
$ 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.
一个更复杂的树
$ 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还可以尝试解决依赖树
$ 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
请注意,pip install
多年来缺乏一个正常工作的求解器,但 pip v20.3(2020年12月)引入了一个新的求解器,这实际上极大地改善了问题!
检查 johnnydep --help
了解其他功能和选项。
有用的链接
项目详情
下载文件
下载适用于您平台的文件。如果您不确定该选择哪一个,请了解更多关于安装包的信息。
源分发
johnnydep-1.20.5.tar.gz (27.3 kB 查看哈希值)
构建分发
johnnydep-1.20.5-py2.py3-none-any.whl (20.5 kB 查看哈希值)
关闭
johnnydep-1.20.5.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | eacee79094c7820b089619a6b8ac2a1b62692db2e518eaeb03f8efa549bfaf04 |
|
MD5 | 0ed2574474e3eda5b8c750be3bc9b099 |
|
BLAKE2b-256 | e557ccdd7ab46a4a06fae442555fe90a02d551009d765b79b99a942b2df330c5 |
关闭
johnnydep-1.20.5-py2.py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 57766d169fa3ef71cd2c46a8ce906837b65dd5e709c40f0a6537857848bd73a5 |
|
MD5 | 126ff368f634c302526cd47cbdd1d54a |
|
BLAKE2b-256 | 5051a5029a6263d4a30cea075307e27e80cccedfe5903a6b34d992f246356bb4 |