Skip to main content

JupyterLite - p5.js Kernel Extension

Project description

jupyterlite-p5-kernel

Github Actions Status

A p5.js kernel for JupyterLite.

image

Requirements

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

# Install JupyterLab
python -m pip install jupyterlab

# 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:

# 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


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.0a10.tar.gz (267.6 kB view hashes)

Uploaded Source

Built Distribution

jupyterlite_p5_kernel-0.1.0a10-py3-none-any.whl (81.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page