简体   繁体   中英

what's the relation between Ipython, jupyter and kernels?

就像每次我寻找有关python或R的答案一样,我遇到了Ipython,Ipython内核,Ipython Notebook,jupyter和jupyter内核的这些涵义,并且实际上我理解了每个人的用途,但是我对它们之间的关系感到非常困惑。

When the project began, it only supported the execution of Python code in their notebooks and the project was called IPython (and the notebooks IPython notebooks).

Each notebook works using an instance of a kernel, which is an execution environment that allows to run code in a specific language as well as providing access to some libraries inside the notebook.

As the project evolved and supported kernels for languages other than Python the project changed the name to Jupyter (thus the notebooks became Jupyter notebooks).

The developers explain it as follows in the IPython Website:

IPython is a growing project, with increasingly language-agnostic components. IPython 3.x was the last monolithic release of IPython, containing the notebook server, qtconsole, etc. As of IPython 4.0, the language-agnostic parts of the project: the notebook format, message protocol, qtconsole, notebook web application, etc. have moved to new projects under the name Jupyter. IPython itself is focused on interactive Python, part of which is providing a Python kernel for Jupyter.

So IPython still exists but it is focused on the Python kernel for Jupyter notebooks, which is also a requirement of Jupyter and it is included by default when installed.

Here is a list of kernels supported by Jupyter:

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

References

https://ipython.org/

http://jupyter.org/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM