You may have heard of Pylint that helps statically checking Python code. Few people know that it comes with a tool named Pyreverse that draws UML diagrams from the python code it reads. Pyreverse uses graphviz as a backend.
It is used like this:
pyreverse -o png -p yourpackage .
where the .
can also be a single file.