未提供项目描述
项目描述
jupyterlite-p5-kernel
JupyterLite的p5.js内核。
需求
- JupyterLite
0.1.0b18+
安装
此JupyterLite内核可以作为联邦服务器扩展安装。
# Install the kernel
pip install jupyterlite-p5-kernel
# Build a new JupyterLite site
jupyter lite build
有关如何构建站点和包含其他扩展的更多信息,请参阅JupyterLite文档: https://jupyterlite.pythonlang.cn/en/latest/howto/index.html
卸载
pip uninstall jupyterlite-p5-kernel
贡献
开发安装
# 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
扩展应链接到 PREFIX/share/jupyter/labextensions
并可由 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/
参考资料
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文档
- 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学习资源
- https://github.com/processing/p5.js/wiki/Educational-Resources
- https://www.khanacademy.org/computing/computer-programming/pjs-documentation
- 可汗学院 > 计算机编程 > "JS入门:绘图与动画" https://www.khanacademy.org/computing/computer-programming/programming
- 可汗学院 > 计算 > 皮克斯盒子 https://www.khanacademy.org/computing/pixar
项目详情
下载文件
下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。
源分发
jupyterlite_p5_kernel-0.1.1.tar.gz (241.3 kB 查看哈希值)
构建分发
关闭
jupyterlite_p5_kernel-0.1.1.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 4d73fdab2f7887219b8b958dabda5ac0b09e09db7839b80415379a28224d5036 |
|
MD5 | 9303e06d95ed7a213aa741ce6a5fe765 |
|
BLAKE2b-256 | b95cde002417d876323b22ed35d01737a0cff9871eff1c566dc8fd6dfc222a32 |
关闭
jupyterlite_p5_kernel-0.1.1-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 45d8424e09ca160ce6823bc10180e210400d519e2195fa84af2d8dc08c9a37b2 |
|
MD5 | 1f412a766f7d0264211d9e3820dd3c39 |
|
BLAKE2b-256 | ba5f4d56c4f5eb7705f95623039add0a52c9dce3407bf1646ba024d99ff7ec6b |