跳转到主要内容

Appmode的JupyterLab扩展。

项目描述

appmode-jupyterlab

Github Actions Status

Appmode的JupyterLab扩展 (https://github.com/oschuett/appmode)。此扩展是从修改后的voila JupyterLab扩展代码(https://github.com/voila-dashboards/voila)创建的。

需求

  • JupyterLab >= 4.0

安装

pip install appmode-jupyterlab

贡献

安装

jlpm命令是JupyterLab随附的yarn的固定版本,随JupyterLab一起安装。您可以使用yarnnpm代替以下jlpm

# Clone the repo to your local environment
# Move to appmode-jupyterlab directory

# Install dependencies
jlpm
# Build Typescript source
jlpm build
# Link your development version of the extension with JupyterLab
jupyter labextension install .
# Rebuild Typescript source after making changes
jlpm build
# Rebuild JupyterLab after making any changes
jupyter lab build

您可以通过监视源目录并在监视模式下运行JupyterLab来监视扩展源的变化,并自动重新构建扩展和应用。

# Watch the source directory in another terminal tab
jlpm watch
# Run jupyterlab in watch mode in one terminal tab
jupyter lab --watch

现在每次更改都会在本地构建并捆绑到JupyterLab中。请确保在保存文件更改后刷新浏览器页面以重新加载扩展(注意:有时您需要等待webpack完成,这可能需要10秒以上)。

卸载

jupyter labextension uninstall @osscar/appmode-jupyterlab

致谢

我们感谢EPFL Open Science Fund通过OSSCAR项目提供的支持。

项目详情


下载文件

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

源代码分发

appmode_jupyterlab-1.0.0.tar.gz (132.2 kB 查看散列值)

上传时间 源代码

构建分发

appmode_jupyterlab-1.0.0-py3-none-any.whl (24.1 kB 查看散列值)

上传时间 Python 3

由以下支持

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