跳转到主要内容

JupyterLite终端

项目描述

jupyterlite-terminal

Github Actions Status lite-badge

JupyterLite的终端。

⚠️ 此扩展仍在开发中,尚未准备用于通用。

a screenshot showing a terminal running in JupyterLite

需求

  • JupyterLite >= 0.4.0

安装

要安装扩展,请执行

pip install jupyterlite-terminal

您还需要安装JupyterLite CLI

python -m pip install --pre jupyterlite-core

用法

安装 jupyterlite-corejupyterlite-terminal 后,创建一个包含以下内容的 jupyter-lite.json 文件以激活终端扩展

{
  "jupyter-lite-schema-version": 0,
  "jupyter-config-data": {
    "terminalsAvailable": true
  }
}

然后构建一个新的 JupyterLite 网站

jupyter lite build

贡献

开发安装

注意:您需要 NodeJS 来构建扩展包。

jlpm 命令是 JupyterLab 安装的 yarn 的固定版本。您可以使用 yarnnpm 替代下面的 jlpm

# Clone the repo to your local environment
# Change directory to the jupyterlite_terminal directory
# Install package in development mode
pip install -e "."
# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Rebuild extension Typescript source after making changes
jlpm build

您可以在不同的终端中同时监视源目录并运行 JupyterLab,以监视扩展源代码的变化并自动重建扩展。

# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm watch
# Run JupyterLab in another terminal
jupyter lab

然后构建一个已安装扩展的 JupyterLite 发行版

jupyter lite build

并提供服务

jupyter lite serve

打包扩展

RELEASE

项目详情


下载文件

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

源分布

jupyterlite_terminal-0.1.1.tar.gz (1.3 MB 查看哈希值)

上传时间

构建分布

jupyterlite_terminal-0.1.1-py3-none-any.whl (1.1 MB 查看哈希值)

上传时间 Python 3

由以下支持

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