A simple sphinx extension to generate a UML diagram from python modules.
Install with:
pip install -e git+https://github.com/alendit/sphinx-pyreverse.git#egg=sphinx-pyreverse
Add "sphinx_pyreverse" to the extensions list in your conf.py (make sure it is in the PYTHONPATH).
Call the directive with path to python module as content. The :classes: and :namespaces: flags specify which UML diagrams to show.:
.. uml:: {{modulename}}
:classes:
:namespaces:
- Ohter available flags from pyreverse::
- show-ancestors
- show-associated
Requires pyreverse from pylint.