Jupyter Console
Jupyter Console is a terminal-based console frontend for Jupyter kernels, offering an interactive computing experience directly in your terminal. It provides a rich interface for interacting with various Jupyter kernels, including Python, Julia, and R, building upon the single-process IPython terminal. The current version is 6.6.3 and it is actively maintained as part of the broader Project Jupyter ecosystem, with releases typically tied to updates in its subprojects.
Warnings
- breaking Version 5.0 introduced significant architectural changes, notably disinheriting the shell class from IPython's interactive shell. This may affect advanced users who were directly subclassing or heavily customizing IPython's internal shell structures for jupyter-console.
- gotcha When multiple Python environments are present, `ImportError: No module named...` errors can occur if the Jupyter kernel runs in a different environment than where a package was installed.
- gotcha The configuration option for confirming exit (`confirm_exit`) was moved from `ZMQTerminalInteractiveShell.confirm_exit` to `JupyterConsoleApp.confirm_exit` in version 5.3.
- gotcha Exiting `jupyter console` with `Ctrl-D` when it's connected to a kernel *not* started by the console itself will leave the kernel running.
Install
-
pip install jupyter-console
Imports
- JupyterConsoleApp
from jupyter_console.app import JupyterConsoleApp
Quickstart
jupyter console --kernel=python