[IPython-dev] embedding ipython
fperez.net at gmail.com
Thu Jan 12 01:09:49 EST 2012
On Tue, Jan 10, 2012 at 12:56 PM, Satrajit Ghosh <satra at 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:
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.
More information about the IPython-dev