cairo_jupyter
hosts notebooks and code for cairo-kernel its a simple Jupyter kernel for Cairo a smart contract programing language for STARKs.
Project managenemt: Kanban
-
Install virtualenv
virtualenv -p python3.8 venv source venv/bin/activate
-
To install
cairo_kernel
:# Upgrade to latest version of setuptools and wheel pip install -U setuptools pip install -U wheel pip install cairo-kernel
Cairo example is a working example of the notebook.
Notebook: The New menu in the notebook should show an option for an Cairo notebook.
Console frontends: To use it with the console frontends, add --kernel cairo
to
their command line arguments.
-
Start the notebook
jupyter notebook
-
Start cairo kernel via UI
- Clone & enter the repo.
git clone https://github.com/ankitchiplunkar/cairo-jupyter.git
- Install required libraries.
pip install -r requirements.txt
- Install the cairo-jupyter library locally:
pip install -e .
python -m cairo_kernel.install