eqiora.jupyter
IPython extension that compiles %%eqiora notebook cells.
Example: compile an Eqiora cell
Section titled “Example: compile an Eqiora cell”In an IPython kernel with Eqiora 0.1.3 or later installed, run:
%load_ext eqiora.jupyterimport eqioraIn a separate cell, start with %%eqiora model and paste the source from
Get started. Subsequent Python cells use model
like any other Model. If the cell fails, model keeps its previous value. See
notebook source cells for arguments and editor support.
load_ipython_extension
Section titled “load_ipython_extension”Register the %%eqiora cell magic; called by %load_ext eqiora.jupyter.
def load_ipython_extension(ipython: Any) -> None: ...unload_ipython_extension
Section titled “unload_ipython_extension”Remove the cell magic. Models that were already compiled stay available.
def unload_ipython_extension(ipython: Any) -> None: ...