Writing a new Jupyter kernel
Jupyter supports a wide variety of kernels written in many languages, including the most-frequently used IPython. The Notebook interface lets you choose the kernel for every notebook. This information is stored within each notebook file.
The jupyter kernelspec
command allows you to get information about the kernels. For example, jupyter kernelspec list
lists the installed kernels. Type jupyter kernelspec --help
for more information.
At the end of this section, you will find references with instructions to install various kernels such as IR, IJulia, or IHaskell. Here, we will detail how to create a custom kernel.
There are two methods to create a new kernel:
- Writing a kernel from scratch for a new language by reimplementing ...
Get Learning IPython for Interactive Computing and Data Visualization - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.