Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python Object Inspector GUI

What I would like is a handy GUI to inspect objects. The dir() function just isn't enough sometimes!

What would happen would I would type view_object(module) and it would give me a GUI window that has

Features: - Tree-view representation, similar to a file-viewer. This would let me see all the classes, and I could expand/contract these views. - selecting on any object lets me see any doc attributes.

Ideally it would also let me cntrl+click on an object (or some other command) and open up the tree-view on THAT object, within IT'S module!

This shouldn't be THAT hard to make, so I assume someone has made it, I'm just having a hell of a time finding it!

like image 300
Garrett Berg Avatar asked Sep 23 '11 20:09

Garrett Berg


2 Answers

Eclipse PyDev is really great. Especially debugger. I't heavy and it starts slowly, but it's a powerful tool.

Not only you can see a tree-view of any variable in a runtime but you can even modify it on the fly.

See Variables view: enter image description here

like image 185
Michał Šrajer Avatar answered Nov 09 '22 14:11

Michał Šrajer


You can take a look at objbrowser (disclaimer I wrote it).

enter image description here

like image 20
titusjan Avatar answered Nov 09 '22 14:11

titusjan