Jupyter kernel for the textS and textM languages

Installation

After installing the vre-language package according to the installation guide, run this command to install the kernel:

python -m virtmat.language.kernel.install

To check if the installation has been successful run the command

jupyter kernelspec list

to see all installed Jupyter kernels. The new kernel should appear there under the name vre-language. Then, after opening a Jupyter Notebook, a new kernel with the name VRE Language appears in the drop-down menu on the top right. In Jupyter Lab, the kernel appears in the Launcher tab under the same name.

Specific features

A Jupyter console session or a Jupyter notebook have similar behavior as the CLI texts session. In particular, all interactive features, such as magic commands, are fully supported in Jupyter. Additionally, in Jupyter Notebook and Jupyter Lab applications, there is support for interactive plots. The default startup settings in Jupyter can be changed only by using magic commands after starting the session/notebook.

Run in console mode

The Jupyter kernel for vre-language can be used in a text terminal by running this command:

jupyter console --kernel=vre-language