No project description provided
Project description
jupyterlite-p5-kernel
A p5.js kernel for JupyterLite.
Requirements
- JupyterLite
0.1.0b18+
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
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
# Serve the site
jupyter lite serve
# Launch a browser to the Jupyterlite server url
python -m webbrowser http://localhost:8000/
References
p5.js
- Processing > ProcessingJS > p5.js https://en.wikipedia.org/wiki/Processing#p5.js
- https://github.com/processing/p5.js
- https://p5js.org/learn/
- https://p5js.org/reference/ API docs
- https://p5js.org/examples/
- https://p5js.org/examples/objects-objects.html
- https://github.com/processing/p5.js/wiki/Beyond-the-canvas#creating-html-images
- https://github.com/processing/p5.js/wiki/Getting-started-with-WebGL-in-p5#introducing-webgl-in-p5js
- Summer of Code https://github.com/processing/p5.js/wiki#google-summer-of-code-and-processing-fellowships
- Season of Docs https://github.com/processing/p5.js/wiki#season-of-docs
p5.js Learning Resources
- https://github.com/processing/p5.js/wiki/Educational-Resources
- https://www.khanacademy.org/computing/computer-programming/pjs-documentation
- Khan Academy > Computer Programming > "Intro to JS: Drawing & Animation" https://www.khanacademy.org/computing/computer-programming/programming
- Khan Academy > Computing > Pixar in a Box https://www.khanacademy.org/computing/pixar
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.0.tar.gz
(241.0 kB
view details)
Built Distribution
File details
Details for the file jupyterlite_p5_kernel-0.1.0.tar.gz
.
File metadata
- Download URL: jupyterlite_p5_kernel-0.1.0.tar.gz
- Upload date:
- Size: 241.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5e0054d5a009d3ade39425ed759117190c76a08c4decde47f150bb127200f67 |
|
MD5 | ebc2222dea6747e77f62a92eff159871 |
|
BLAKE2b-256 | 40a2ad796536f73c9c5794e094aa2e69aa0dbde1970219261c359c97837b2498 |
File details
Details for the file jupyterlite_p5_kernel-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: jupyterlite_p5_kernel-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82281dc6d1c172c303454341310509fd8a5051169ad51b9021c27a291c7c835e |
|
MD5 | a133a7c8046d02255bece4d03499c3f0 |
|
BLAKE2b-256 | 5e919de14210b8fe6c5a69bef8a27d6ebf3daef189d8df0251962ed69a9b401b |