[IPython-dev] embedding ipython

Fernando Perez fperez.net@gmail....
Thu Jan 12 00:09:49 CST 2012


Hey Satra,

On Tue, Jan 10, 2012 at 12:56 PM, Satrajit Ghosh <satra@mit.edu> wrote:
> i'm trying to look into the possibility of embedding ipython into the latest
> version of 3d slicer (slicer.org). slicer is a PythonQt application and they
> bundle their own python interpreter with it.
>
> any pointers in the right direction would be much appreciated.

A starting point would be to look at Robert's hack:

http://mail.scipy.org/pipermail/ipython-dev/2011-December/008456.html

now, ideally we'd do this correctly, by refactoring the Qt console
code so that it can use a KernelManager that could be either local or
remote, and having a local manager for the in-process cases.  With
this done, the terminal (or 'plain' ipython) and console (the new
terminal-based two-process one)  clients could also then be cleaned up
to use the exact same architecture.

That is the right way to do this and not too much work, but not a tiny
amount of work either.  I don't know if right now you have the
bandwidth to try to do it.  If you do, I'd be happy to give you a hand
though, so let me know.

Doing that refactoring is a really important step in finishing up the
architectural clenaup we started with Brian's summer'09 work, so it
would be awesome to tackle it.

Cheers,

f


More information about the IPython-dev mailing list