Skip to content. | Skip to navigation

Personal tools

>>> ''.join(word[:3].lower() for word in 'David Isaac Glick'.split())



You are here: Home / Blog / Inspect your ZODB with Eye

Inspect your ZODB with Eye

by David Glick posted Mar 21, 2011 01:50 PM
Eye is a utility for browsing the contents of a ZODB.

A fairly common complaint about the ZODB is that there's no generic tool for browsing its contents. In fact this is a bit of a lie, as there are at least 3 existing tools called "zodbbrowser," but they all depend on large parts of the Zope stack, and are therefore a bit hard to install.  So at the PyCon sprints I worked on adapting Roberto Allende's zope2.zodbbrowser into a Pyramid-based tool called Eye.

The result is easy to install and looks like it will be fairly useful for seeing all the objects present in a ZODB (not just the ones that the ZMI or some other app-level tool chooses to show). As an added bonus, it knows how to browse "broken" objects, so you don't have to have your application code in Eye's PYTHONPATH.

(Blue items are persistent objects; black ones are included in the ZODB only by virtue of being referenced by persistent objects, and do not get their own pickle.)

Eye can also be used to take a peek at any old set of Python objects that are not in a ZODB.

See the PyPI page for installation and usage instructions, or clone the project on github and send me pull requests. :)

Roger Ineichen says:
Apr 04, 2011 08:29 AM
Cool, habe gar nicht realisiert, dass es in der Schweiz so versierte Zope Geeks gibt ;-)

Roger Ineichen
:) says:
Apr 04, 2011 02:51 PM
Und ich hatte keine Ahnung, dass Seattle eine Vorstadt von Genf sei. ;)
Thinhc Venetosa says:
May 13, 2012 09:58 PM
Hi, Neat post. There is a problem with your website in internet explorer, would test this… IE still is the market leader and a good portion of people will miss your fantastic writing due to this problem.