列出github中所有python依赖项的树的工具。
pydeplist的Python项目详细描述
PydepList
说明
这是一个命令行工具,用于列出python包的所有远程github依赖项。
依赖项将停止列出,直到我们无法访问repo或不再需要依赖项。
注意:现在,这只用于显示github中的依赖项。但在将来,我将尝试将其扩展到pypi中的包。
安装
# cd pydeplist
pip3 install .
用法
cd[package folder] pydeplist --user [user name for GitHub] --passwd [password]# or pydeplist --dir [package folder] --user [user name for GitHub] --passwd [password]
示例输出
- setup - mcubn - upctl - aclient - testassis - kball - timeutil - pve - func - math - aclient - cpylua - mcubn - upctl - pve - func - math
依赖树节点在func
和math
处结束,因为我们无权访问func
和math
,因此无法继续。因为它不依赖于另一个github repo,所以它会在mcubn
处结束。