[IPython-dev] using ipkernel to provide access to an application's internals

Ivan Zhang mirage007@gmail....
Sun Jul 15 08:58:39 CDT 2012

Hi Dev Team,

First i want to say great job on .13 release!

I looked into pull 1640 and i feel i can almost get there, but I am still
missing some parts.

So I set up an application that runs code vial eval/exec calls on a
dictionary of variables, so I can conceivably see how I can add in an
Ipython embed kernel step in between and send commands to it instead, my
initial thought was to have a GUI built on top of this application to
replicate a console, but I realized it would probably better if I could
just use existing Ipython consoles and just connect to it.

It wasn't very obvious to me from the examples how to connect to an
embed_kernel from another machine, or process. Can someone point me to the
right direction?

I.e. say my application is a GUI, and there is a simple text box to type in
commands, and I pipe it into an embeded kernel, how do I connect other
regular ipython consoles, or qtconsoles to it to check its state?

Thanks in advance for your help,


On Monday, April 23, 2012, Ivan Zhang wrote:

> Wow, cool, had no idea this was work in progress, will look into it,
> looking forward to it.
> Thanks,
> -i
> On Apr 23, 2012 2:33 AM, "Fernando Perez" <fperez.net@gmail.com<javascript:_e({}, 'cvml', 'fperez.net@gmail.com');>>
> wrote:
> Hi Ivan,
> On Fri, Feb 24, 2012 at 6:15 AM, Ivan Zhang <mirage007@gmail.com<javascript:_e({}, 'cvml', 'mirage007@gmail.com');>>
> wrote:
> >
> > Say I have a typical p...
> This capability is almost ready to be merged:
> https://github.com/ipython/ipython/pull/1640
> should be done in a day or two.
> Cheers,
> f
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org <javascript:_e({}, 'cvml',
> 'IPython-dev@scipy.org');>
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20120715/d1527984/attachment.html 

More information about the IPython-dev mailing list