Jupyter kernel for Cairo language
Project description
cairo_kernel
cairo_kernel
is a simple Jupyter kernel for Cairo a smart contract programing language for STARKs.
Installation
-
Install virtualenv
virtualenv -p python3.8 venv source venv/bin/activate
-
To install
cairo_kernel
:pip install cairo-kernel
Using the 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.
Running the kernel on notebook
-
Start the notebook
jupyter notebook
-
Start cairo kernel via UI
Development
- 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cairo_kernel-0.0.3.tar.gz
(8.7 kB
view hashes)