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
Built Distribution
File details
Details for the file jupyterlite-p5-kernel-0.1.0a12.tar.gz
.
File metadata
- Download URL: jupyterlite-p5-kernel-0.1.0a12.tar.gz
- Upload date:
- Size: 267.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 249bb7ae28e62069aea67016294ebbb0cbb39fe53f0a02d115f3fc0cfdcfad51 |
|
MD5 | 1f8818fec032b5fc57b8895360fb1d87 |
|
BLAKE2b-256 | dd3a9500fe2243e455a996f6c294b19d54497054a24ee0130dcf19bdc67640c9 |
File details
Details for the file jupyterlite_p5_kernel-0.1.0a12-py3-none-any.whl
.
File metadata
- Download URL: jupyterlite_p5_kernel-0.1.0a12-py3-none-any.whl
- Upload date:
- Size: 81.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 492438e33824a50c587997480d5c89ae4fb2776d6560a9d02c8967aa03b2a58c |
|
MD5 | f1de42d716266dd760291d6f21281f2b |
|
BLAKE2b-256 | c25a3a86e0c0681b7344eba9f3a29426a2e3efda69bb47f0b86cdc593ea10dcc |