After the ipython notebook project renamed to jupyter, I always think that ipython notebook
is the same as jupyter notebook
and ipython
shell is just an alias of jupyter console
. Today I realize that ipython
does not have connect_info
magic defined and therefore is not able to be connected to from different backends.
I have the following component installed in my conda:
ipython 6.1.0 py36_0 defaults jupyter 1.0.0 py36_4 defaults jupyter_client 5.2.3 py36_0 defaults jupyter_console 5.2.0 py36he59e554_1 defaults jupyter_contrib_core 0.3.3 py36_1 conda-forge jupyter_contrib_nbextensions 0.5.0 py36_0 conda-forge jupyter_core 4.4.0 py36h7c827e3_0 defaults
I have the following questions:
ipython
of this version and jupyter console
of this version? ipython notebook
(deprecated as in ipython 6.1.0
) another share some components with jupyter
libraries; or ipython notebook
is still self-contained?ipython
and jupyter
have any dependencies? IPython is an interactive shell that is built with python. It provides a more useful shell environment to execute python code in REPL (Read Eval Print Loop). It makes it more interactive by adding features like syntax highlighting, code completion etc. IPython also comes with other tools like Jupyter Notebooks etc.
Jupyter notebooks take the IPython shell to the next level. First of all, they're browser-based, not terminal-based. To get started, install jupyter .
In addition to running your code, it stores code and output, together with markdown notes, in an editable document called a notebook. When you save it, this is sent from your browser to the notebook server, which saves it on disk as a JSON file with a . ipynb extension.
The Jupyter Notebook is not included with Python, so if you want to try it out, you will need to install Jupyter. There are many distributions of the Python language. This article will focus on just two of them for the purposes of installing Jupyter Notebook.
Architecture Guides — Jupyter Documentation has the authoritative info on how IPython and Jupyter are connected and related.
Specifically, as per Migrating from IPython Notebook — Jupyter Documentation:
The Big Split moved IPython’s various language-agnostic components under the Jupyter umbrella. Going forward, Jupyter will contain the language-agnostic projects that serve many languages. IPython will continue to focus on Python and its use with Jupyter.
Jupyter's architecture includes frontends (web or console) and backends (kernels for various languages). IPython console is only about Python and terminal. "IPython Notebook", if it's still a thing (it doesn't work out of the box if I pip install ipython
as of IPython 5.5.0), is probably a rudiment of the moved components for backward compatibility.
IPython is a dependency of Jupyter:
> pip show jupyter <...> Requires: ipywidgets, qtconsole, nbconvert, notebook, jupyter-console, ipykernel > pip show ipython <...> Required-by: jupyter-console, ipywidgets, ipykernel
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With