Hacker News new | ask | show | jobs
by stephengillie 2787 days ago
I recently got a Jupyter Notebook, and found it's a large JSON document, with some sections in markdown and some in Python. A browser could omit the Python, and an interpreter could omit the markdown.

Would this work for other languages? Maybe JavaScript or Powershell instead of Python?

4 comments

Can and does! Jupyter notebooks have a flexible architecture for running anything (called "kernels").

Notable examples...

R: https://github.com/IRkernel/IRkernel

node: https://github.com/notablemind/jupyter-nodejs

In my mind, one of this big advantages of jupyter is its extendability. I was able to quickly modify notebooks to run unit tests, so we could use them for projects at DataCamp: https://www.datacamp.com/projects.

Yes! Juypter is actually designed to take in multiple kernel types and supports a ton of different languages. It’s not just limited to Python.

https://github.com/jupyter/jupyter/wiki/Jupyter-kernels

Jupyter = Julia + Python + R
You may be interested in jupytext https://github.com/mwouts/jupytext