Per Cell Kernels

51 views
Skip to first unread message

Joshua Marshall Moore

unread,
Nov 13, 2017, 1:14:36 AM11/13/17
to Project Jupyter
Hey wouldn't it be great if the kernels could work on a cell level, so that different installed kernels can run in the same notebook, say bash, python, and javascript. 

Thomas Kluyver

unread,
Nov 13, 2017, 8:11:01 AM11/13/17
to Project Jupyter
There are some options for doing this at the kernel level - e.g. in an IPython kernel there are extensions to let you use %%R and %%julia cell magics. Then there are things like the Script-of-Scripts kernel: https://github.com/vatlab/SOS .

There's also a notebook project called Beaker which aims to support mixing languages in a notebook.

At the Jupyter level, however, the model is that one notebook has one kernel.

On 13 November 2017 at 06:14, Joshua Marshall Moore <thwee.abacada...@gmail.com> wrote:
Hey wouldn't it be great if the kernels could work on a cell level, so that different installed kernels can run in the same notebook, say bash, python, and javascript. 

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/3175adad-aa65-47f2-a601-c53d8dd627e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

sp...@draves.org

unread,
Nov 14, 2017, 12:26:44 AM11/14/17
to jup...@googlegroups.com
Thanks Joshua and Thomas, yes Beaker Notebook has that capability,
but we stopped developing it in favor of BeakerX which is an extension to Jupyter Notebook.
This feature is now on the agenda: https://github.com/twosigma/beakerx/issues/6279
Indeed the plan is to use a kernel that proxies other kernels, like SOS.
Then we can use Arrow (https://github.com/apache/arrow) for autotranslation of data between the kernels.
BeakerX does already support autotranslation from Python to JavaScript (good for working directly with D3):
Python has a Bash magic too, so the particular combo you ask for can actually be done today with BeakerX.
Best, -Scott
 


On Mon, Nov 13, 2017 at 8:10 AM, Thomas Kluyver <tak...@gmail.com> wrote:
There are some options for doing this at the kernel level - e.g. in an IPython kernel there are extensions to let you use %%R and %%julia cell magics. Then there are things like the Script-of-Scripts kernel: https://github.com/vatlab/SOS .

There's also a notebook project called Beaker which aims to support mixing languages in a notebook.

At the Jupyter level, however, the model is that one notebook has one kernel.

On 13 November 2017 at 06:14, Joshua Marshall Moore <thwee.abacadabra.alchemist@gmail.com> wrote:
Hey wouldn't it be great if the kernels could work on a cell level, so that different installed kernels can run in the same notebook, say bash, python, and javascript. 

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/3175adad-aa65-47f2-a601-c53d8dd627e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Lawrence D’Oliveiro

unread,
Nov 21, 2017, 6:59:51 PM11/21/17
to Project Jupyter
On Monday, November 13, 2017 at 7:14:36 PM UTC+13, Joshua Marshall Moore wrote:
Hey wouldn't it be great if the kernels could work on a cell level, so that different installed kernels can run in the same notebook, say bash, python, and javascript. 

Or you could add those functions via cell magics.
Reply all
Reply to author
Forward
0 new messages