Skip to main content

No project description provided

Project description

jupyterlite-p5-kernel

Github Actions Status JupyterLite

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/howto/index.html

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
mamba 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

# Serve the site
jupyter lite serve

# Launch a browser to the Jupyterlite server url
python -m webbrowser http://localhost:8000/

References

p5.js

p5.js Learning Resources

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.1.tar.gz (241.3 kB view details)

Uploaded Source

Built Distribution

jupyterlite_p5_kernel-0.1.1-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlite_p5_kernel-0.1.1.tar.gz.

File metadata

  • Download URL: jupyterlite_p5_kernel-0.1.1.tar.gz
  • Upload date:
  • Size: 241.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for jupyterlite_p5_kernel-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4d73fdab2f7887219b8b958dabda5ac0b09e09db7839b80415379a28224d5036
MD5 9303e06d95ed7a213aa741ce6a5fe765
BLAKE2b-256 b95cde002417d876323b22ed35d01737a0cff9871eff1c566dc8fd6dfc222a32

See more details on using hashes here.

File details

Details for the file jupyterlite_p5_kernel-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlite_p5_kernel-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 45d8424e09ca160ce6823bc10180e210400d519e2195fa84af2d8dc08c9a37b2
MD5 1f412a766f7d0264211d9e3820dd3c39
BLAKE2b-256 ba5f4d56c4f5eb7705f95623039add0a52c9dce3407bf1646ba024d99ff7ec6b

See more details on using hashes here.

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