python uml code graph

1 篇文章 0 订阅

UML tools for Python:

  • PyUML is an open source Eclipse plug-in offering round trip engineering betwee UML and Python.UML support is limited to class diagrams and the code-generation capabilities are simple class to class (or interface to interface) transformations
  • Epydoc : Generate UML documentation from python code (last release on 2008)
  • PyNSource : Reverse engineer python source code into UML. Generated UML class diagrams can be displayed as ASCII Art or in a more typical graphical form.
  • Lumpy . Python module that generates UML diagrams (currently object and class diagrams) from a running Python program. It is similar to a graphical debugger in the sense that it generates a visualization of the state of a running program, but it is different from a debugger in the sense that it tries to generate high-level visualizations that are compliant (at least in spirit) with standard UML
  • ObjectDomain : commercial tool with forward and reverse engineering support for Python.
  • argoUML-python seems (seemed?) to go in the same direction but it is not quite there yet.
  • GraphModels (django-command-extensions) creates a UML-like GraphViz dot file for the specified app name
  • Pyreverse included in the Pylint source distribution (for the analysis of the quality of python code) creates UML diagrams from the code
  • pywebuml uses graphviz to create a UML class diagram representing your python (and also Java and C#) code.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Python UML是一种用于分析Python代码并提取UML类图和包依赖关系的工具。它可以帮助开发者分析代码中的类属性、类方法、类之间的继承关系、类之间的关联关系以及异常和接口的表示。 在UML类图中,每个方框代表一个对象类,方框从上到下分为三部分:对象类名称、类的属性和类的函数。这样的类图可以帮助开发者更好地理解、设计和组织Python代码。 学会编写类只是面向对象的一部分,对类与类之间的关联也需要深入理解。类图本身是对现实世界的抽象,它能够准确描绘现实世界的逻辑结构,并帮助开发者更好地理解程序的设计和实现。通过深入学习和灵活运用类图,开发者能够更好地理解面向对象的思想和方法。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [Python自动绘制UML类图、函数调用图(Call Graph)](https://blog.csdn.net/Bit_Coders/article/details/120722430)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *3* [Python中的ULM类图](https://blog.csdn.net/weixin_55118952/article/details/124473325)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值