CircuitPython Kernel

https://cdn-learn.adafruit.com/guides/images/000/002/051/medium310/Untitled-3.png?1528919538 Documentation Discord Build Status

The CircuitPython Kernel is a Jupyter Kernel designed to interact with Adafruit boards running CircuitPython from within a Jupyter Notebook.

Status

This project’s status is experimental. It has been tested with CircuitPython 3.x in (SAMD) boards and Feather HUZZAH (ESP8266). With CircuitPython 6.x in Raspberry Pi Pico

It may break, and if it does, please file an issue on this repository.

Download

Official .zip files are available through the latest GitHub releases.

Install

Jupyter:

pip3 install --upgrade pip
pip3 install jupyter

Optional:

pip3 install jupyterlab

CircuitPython kernel:

cd circuitpython_kernel/
python3 setup.py install; python3 -m circuitpython_kernel.install

Then run with one of:

jupyter notebook
jupyter lab

and choose the CircuitPython kernel.

Documentation

This kernel is fully documented on the Adafruit Learning System Guide: CircuitPython with Jupyter Notebooks.

A line containing exactly the word:

%softreset

will reset the board and release all resources.

There’s also documentation for this kernel listed on ReadTheDocs.