跳转到主要内容

未提供项目描述

项目描述

jupyterlite-p5-kernel

Github Actions Status JupyterLite

JupyterLite的p5.js内核。

image

需求

安装

此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

p5.js学习资源

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分发

jupyterlite_p5_kernel-0.1.1.tar.gz (241.3 kB 查看哈希值)

上传时间

构建分发

jupyterlite_p5_kernel-0.1.1-py3-none-any.whl (21.8 kB 查看哈希值)

上传时间 Python 3

由以下机构支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面