[IPython-dev] RFC: IPython.ipapi for "public" ipython API.

Ville Vainio vivainio at gmail.com
Fri Jan 13 12:33:02 EST 2006

It's not immediately obvious where the extension points for ipython
are, so I figured we ought to have one module that user
extensions/config files would use to plug into ipython.

I'm of course thinking of

import IPython.ipapi as ip

ip.ipmagic("%alias ls ls -F")

def f(..): ...


def mymagic_impl(self,param):


# takes place in working ns.

ip.exec("import os,sys")
ip.exec("from re import *")

It should be pretty easy to do (most funcs are just references to
existing funcs elsewhere), and it would help people willing to get
started quickly quite a bit.

Ville Vainio    http://tinyurl.com/2prnb
  Can't you see the world is burning
  Can't you feel its Fire burning
  Don't you know we all are burning
  The Fire of Life       -- R.N.Taylor / Changes

More information about the IPython-dev mailing list