简体   繁体   English

如何获得模块层次图?

[英]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.

相关问题 如何打印python模块层次结构? - How to print python module hierarchy? 如何在python中从有向非循环图中找到边层次结构图 - How to find edges hierarchy graph from directed acyclic graph in python 有没有办法让所有模块都在层次结构中的特定模块下? - Is there a way to get all modules 'under' a specific module in the hierarchy? 如何在python模块中导入图形 - how to import graph in a python module 如何使用 python 中的 Plotly 库或任何可以在浏览器上获得结果的模块将多个 csv 文件放到图形上? - how to get the multiple csv files on to the graph using Plotly library in python or any module that can get the results on browser? 如何让 Selenium 在层次结构下拉列表中循环 - How to get Selenium to cycle through a hierarchy dropdown 如何解决这个 AttributeError: module 'tensorflow' has no attribute 'get_default_graph'? - How to fix this AttributeError: module 'tensorflow' has no attribute 'get_default_graph'? 如何修复“AttributeError:模块‘tensorflow’没有属性‘get_default_graph’”? - How to fix "AttributeError: module 'tensorflow' has no attribute 'get_default_graph'"? AttributeError: module 'graph_tool.draw' has no attribute 'draw_hierarchy' 运行我的代码时返回,这是不正确的 - AttributeError: module 'graph_tool.draw' has no attribute 'draw_hierarchy' is returned when running my code, which is not true Python 模块导入的层次结构是什么? - What is the hierarchy for Python module imports?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM