From charlesreid1

No edit summary
Line 37: Line 37:


{{BotFlag}}
{{BotFlag}}
[[Category:UML]]
[[Category:Inheritance]]
[[Category:Python]]
[[Category:CS]]
[[Category:Dot]]
[[Category:Graphviz]]

Revision as of 22:46, 3 May 2019

Pyreverse is a tool in the Pylint tool suite. Pyreverse is a tool for generating UML diagrams from Python source code.

Examples

Olipy

Here's a UML diagram of the Olipy library. I generated this using the pyreverse utility (part of the Pylint library).

$ pip install pylint
$ cd /path/to/olipy
$ pyreverse -o png -p OLIPY .

This generates the images classes_OLIPY.png and packages_OLIPY.png:

Classes OLIPY.png

Packages OLIPY.png

Scipy

$ pip install pylint
$ git clone git@github.com:scipy/scipy.git
$ cd scipy/
$ pyreverse -o png -p SCIPY .

This will dump out images called classes_SCIPY.png and packages_SCIPY.png.

Packages SCIPY.png

Flags