Since I don't know much about HTML, I Keep It Simple.
So, PyCAna is a python code analyzer, you execute your code, and then it builds an UML like class diagram with aggregation an inheritance relations.
Here is a sample (the code that generates that class diagram is with the source code ;-))!

If you want to try it out, download the latests version here or checkout the code in the svn repository

It is simple to use, you just add to the end of your main program these lines:

from pycana import CodeAnalyzer
import TheModuleYouWantToAnalyze

analyzer= CodeAnalyzer(TheModuleYouWantToAnalyze)
relations= analyzer.analyze()
analyzer.draw_relations(relations, 'class_diagram.png')