github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

rspivak / grok-ipython

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 3
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

IPython profile for Grok — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Renamed methods. 
rspivak (author)
Tue Oct 06 22:08:26 -0700 2009
commit  a1646290a11b222164d374ebf62da232ff560749
tree    edfdcea4073d048d35528e62396d8c1f161af456
parent  e054d17d76f11c96c39f436feeef31f1e0e65f6b
grok-ipython /
name age
history
message
file README.txt Sun Mar 29 23:11:13 -0700 2009 Added more info [rspivak]
file ipy_profile_grok.py Loading commit data...
README.txt
IPython profile for Grok.
=========================

This is ipython shell that provides basic commands
for navigating and exploring Grok's ZODB instance.

Inspired by ipy_profile_zope.py distributed with IPython.

Put ipy_profile_grok.py into .ipython directory in your home dir.
Then launch IPython shell from your Grok based project:

$ bin/ipython -p grok

There are several assumptions:

1) You have ipython installed.
   If not - add 'ipython' to eggs directive in your buildout.cfg
   and rerun bin/buildout

2) Your zope.conf is located in parts/etc directory.
   If you use latest grokproject this is by default

In the shell following names are bound:

root - root object in your instance
ctx  - points to current container object, may change over time if
       you, for example, cd into another container

cdg / ;cdg - cd into container with given path.
Examples:
  cdg('/blog/entry')
  cdg /blog/entry  -> you can use auto-completion in this form

lsg / ;lsg - list objects in current container or at given path
Examples:
  lsg
  lsg /blog
  ;lsg /blog/entry -> you can use auto-completion in this form

pwdg - print absolute path to current container

sync - synchronize (manually update the view on the database)

commit - commit changes to database
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server