Just to share what we have recently done. 
We have designed a very simple python analyzer, available as a Roassal plugin (available from the world menu).

As an example, the following code produces:
root := '/Users/alexandrebergel/Desktop/astropy' asFileReference.

p := PyProcessor new.
p processRootFolder: root.
p resolveDependencies.

b := RTMondrian new.
b shape circle.
b shape box 
height: #numberOfLinesOfCode;
width: [ :c | c numberOfMethods * 10 ].
b nodes: p classes.
b edges connectFrom: #superclass.
b layout tree;
ifNotConnectedThen: RTFlowLayout new.
b normalizer
distinctColorUsing: #file.
^ b