[IPython-dev] Simple Kernel Example

Doug Blank doug.blank at gmail.com
Sat Jan 18 08:58:11 EST 2014


Thanks to the many pointers, I have the start of a simple_kernel.py:

https://github.com/dsblank/simple_kernel

It doesn't actually work yet. My goal is to develop a simple example
that people would find useful to translate into other languages. So,
trying not to use too many Python-specific options.

If you see something that I'm doing wrong, or have suggestions to make
it a better example, please let me know, or fork it and fix.

Thanks!

-Doug

On Thu, Jan 16, 2014 at 5:18 PM, Doug Blank <doug.blank at gmail.com> wrote:
> Hello devs,
>
> I've looked at the IPython docs, and IHaskell, IJulia, and IRuby backends,
> but having a bit of trouble seeing exactly what needs to be done to create a
> new kernel. I assume that a kernel could be an executable in any language
> that receives a filename whose contents are the configuration items (like
> port numbers). Then, I guess, it starts up threads to listen to those ports
> handling XMP data.
>
> If there were a simple HelloWorld-type kernel, that would be very helpful.
> For example, just a hello.py file that listened to the right ports, and
> returned an effective response of "Ok" (without doing anything) would be
> enough to get me started.
>
> Is there anything similar to that?
>
> Thanks for any help or pointers!
>
> -Doug
>
>
>
>
> --
> View this message in context: http://python.6.x6.nabble.com/Simple-Kernel-Example-tp5044217.html
> Sent from the IPython - Development mailing list archive at Nabble.com.
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



More information about the IPython-dev mailing list