[英]How to get a module hierarchy graph?
I have a fairly big python project which is getting a bit out of control. 我有一个相当大的python项目,该项目有些失控了。 I would like to get a graphical overview of which modules are importing which other modules.
我想获得有关哪些模块正在导入哪些其他模块的图形概述。
Are there any tools to help me get this kind of graph? 有什么工具可以帮助我获得这种图形吗?
It sounds like you want to visualize dependencies. 听起来您想可视化依赖项。 I haven't used it, but the first result in Google when searching for
python dependency graph
looks promising: https://github.com/thebjorn/pydeps 我没有使用过它,但是在Google中搜索
python dependency graph
时的第一个结果看起来很有希望: https : //github.com/thebjorn/pydeps
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.