Skip to main content

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.

Hosted on binder: Binder

Project managenemt: Kanban

Installation

  1. Install virtualenv

    virtualenv -p python3.8 venv
    source venv/bin/activate
    
  2. 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

  1. Start the notebook

    jupyter notebook
    
  2. Start cairo kernel via UI

cairo_jupyter_gif

Development

  1. Clone & enter the repo.
    git clone https://github.com/ankitchiplunkar/cairo-jupyter.git
  1. Install required libraries.
    pip install -r requirements.txt
  1. Install the cairo-jupyter library locally:
    pip install -e .
    python -m cairo_kernel.install

Metadata

Release files for cairo-kernel 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cairo-kernel 0.0.7
File Size Uploaded Provenance
cairo_kernel-0.0.7.tar.gz 8.9 kB Without provenance Details

Release files / cairo_kernel-0.0.7.tar.gz

Download URL cairo_kernel-0.0.7.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6645feb66c7ad62d865d58aa1eb9dd8eeb72da6e6952a0f99876a5527404bf2a
BLAKE2b-256 checksum
How to use checksums
36c3d64bac23c6a7d4ba9ebb65d24384a6d580a0effc88b1f7cff963fc6cb7b5
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for cairo-kernel 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page