Pyreverse
From charlesreid1
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:
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.