Plone Shell
Category: Development tools
—
Other products by this author
Experimental releases
There are no experimental releases available at the moment.
Project Description
- Project resources
Note: check out Clouseau for a more advanced and powerful tool that has zero dependencies.
PloneShell makes it easy for you to get an interactive shell for examining the ZODB and trying out Zope and Plone API calls on your actual site. This is a very helpful strategy for debugging and learning/practicing the Zope/Plone API. It combines the best of the Python interactive shell with access to your running Zope/Plone instance.
The changes you make here are inside a transaction, so they won't affect your real site, and are aborted when you quit. You have the option to commit that transaction, should you wish to, as well as explicitly abort it, sync with the current state of the database, and more.
The capabilities here are similar to what you can do with zopectl debug, however this offers several advantages:
- auto-completion of API calls; making it much easier to find the right call
- easier-to-remember commands for transaction commit, sync, etc. (the regular ones are still available)
- tooltips of the parameters for methods and objects
- works in Windows (normally, zopectl debug does not)
Requires wxPython, which is an easy install on Linux and Windows (but may be slightly more work under OSX).
This does not require that you run ZEO, or any special server setup. However, if you are running ZEO, you will be able to run this program while still running Zope.
For more information see PloneShell home page.