[IPython-dev] Making small kernels just got easier

Thomas Kluyver takowl at gmail.com
Tue Jul 1 21:22:46 EDT 2014


We just merged a PR that makes it much simpler to write wrapper kernels in
Python for other languages. Simply subclass a class in IPython, and define
a few methods and attributes, as described here:
http://ipython.org/ipython-doc/dev/development/wrapperkernels.html

For instance, I've just written a kernel for bash (no completion, but it
can run commands):
https://github.com/takluyver/bash_kernel

To try this out, get the latest IPython development version, then pip
install bash_kernel. Run ipython qtconsole --kernel bash to start it.

Best wishes,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140701/3b6fd948/attachment.html>


More information about the IPython-dev mailing list