py2dot

py2dot is a Python script to generate graphs from a python program. It interprets a Python program as a graphs of function calls. It can represent classes and imported modules.
py2dot is available from pypi. More information are available here.