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

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyterlite_p5_kernel-0.3.0-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jupyterlite_p5_kernel-0.3.0.tar.gz
  • Upload date:
  • Size: 224.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for jupyterlite_p5_kernel-0.3.0.tar.gz
Algorithm Hash digest
SHA256 293974231974eef8d08eed6083a9ab6f3f2a9f18bd35cf98d9262d2ab8570fc6
MD5 fc9acff32e4d3a4484606d7d117387da
BLAKE2b-256 6ec5e2d6f97f73cc368a802492a1e037950e56be11050e60ad62252669ec7343

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jupyterlite_p5_kernel-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b3083bfcfecb6f0786ca5607603e094623a487c37f8ffa5825a1c1eda5686b0
MD5 09c00ef7739e95045fb987a586b508b8
BLAKE2b-256 fd99643dd0b8d55d978685777567ff331af944e2a2c2d648a4f399b52f9fde99

See more details on using hashes here.

Supported by

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