Jupyter kernel for Cairo language
Project description
cairo_jupyter
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
Installation
-
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
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.7.tar.gz
(8.9 kB
view details)
File details
Details for the file cairo_kernel-0.0.7.tar.gz
.
File metadata
- Download URL: cairo_kernel-0.0.7.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6645feb66c7ad62d865d58aa1eb9dd8eeb72da6e6952a0f99876a5527404bf2a |
|
MD5 | 29e5ad5a2adfe57084c13671a0ccae4a |
|
BLAKE2b-256 | 36c3d64bac23c6a7d4ba9ebb65d24384a6d580a0effc88b1f7cff963fc6cb7b5 |