JupyterLite - p5.js Kernel Extension
Project description
jupyterlite-p5-kernel
A p5.js kernel for JupyterLite.
Requirements
- JupyterLite
0.1.0a10+
Install
This JupyterLite kernel can be installed as a federated server extension.
# install the kernel
pip install jupyterlite-p5-kernel
# build a new JupyterLite site
jupyter lite build
See the JupyterLite documentation for more information on how to build sites and include additional extensions: https://jupyterlite.readthedocs.io/en/latest/configuring.html#adding-extensions
Uninstall
pip uninstall jupyterlite-p5-kernel
Contributing
Development install
# Clone the repo to your local environment
# Change directory to the fork directory
# create a new enviroment
mamba create --name jupyterlite-p5-kernel -c conda-forge python=3.9 yarn jupyterlab
conda activate jupyterlite-p5-kernel
# Install package in development mode
python -m pip install -e .
# Link your development version of the extension with JupyterLab
jlpm run install:extension
# Rebuild the extension Typescript source after making changes
jlpm run build
The extension should be linked to PREFIX/share/jupyter/labextensions
and can be picked up by jupyterlite
:
# install jupyterlite
python -m pip install jupyterlite
# build a new JupyterLite site
jupyter lite build
# server the site
jupyter lite serve
Then go to http://localhost:8000 to launch JupyterLite with the federated server extension.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jupyterlite-p5-kernel-0.1.0a12.tar.gz
(267.9 kB
view hashes)
Built Distribution
Close
Hashes for jupyterlite-p5-kernel-0.1.0a12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 249bb7ae28e62069aea67016294ebbb0cbb39fe53f0a02d115f3fc0cfdcfad51 |
|
MD5 | 1f8818fec032b5fc57b8895360fb1d87 |
|
BLAKE2b-256 | dd3a9500fe2243e455a996f6c294b19d54497054a24ee0130dcf19bdc67640c9 |
Close
Hashes for jupyterlite_p5_kernel-0.1.0a12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 492438e33824a50c587997480d5c89ae4fb2776d6560a9d02c8967aa03b2a58c |
|
MD5 | f1de42d716266dd760291d6f21281f2b |
|
BLAKE2b-256 | c25a3a86e0c0681b7344eba9f3a29426a2e3efda69bb47f0b86cdc593ea10dcc |