Skip to content
项目

关于

Modern Jupyter server based on FastAPI

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Build Status

Jupyverse

A set of FPS modules implementing a Jupyter server.

Try it online:

  • JupyterLab frontend: Binder
  • Jupyter Notebook frontend: Binder

Documentation is available here.

Install

From PyPI

Jupyverse can be installed with pip, for instance the following:

pip install "jupyverse[jupyterlab,auth]"

will install jupyverse with the JupyterLab frontend and the auth plugin.

From conda-forge

Jupyverse can be installed with micromamba:

micromamba create -n jupyverse
micromamba activate jupyverse
micromamba install jupyverse fps-jupyterlab fps-auth

Development install

Clone or fork this repository:

git clone https://github.com/jupyter-server/jupyverse.git
cd jupyverse

Then either use uv or pip to install in development mode.

Using uv

Install all plugins in editable mode:

uv venv
for dir in ./api/*; do dirname=$(basename "$dir"); uv pip install -e "jupyverse-$dirname @ ./api/$dirname"; done
for dir in ./plugins/*; do dirname=$(basename "$dir"); uv pip install -e "fps-$dirname @ ./plugins/$dirname"; done
uv pip install --group test -e .

Run tests with:

uv run pytest -v

For testing, all the plugins are installed in the same environment. Jupyverse will automatically start all plugins registered in the jupyverse.modules entry point. Some of them should be disabled, for instance there should be only one authentication plugin:

uv run jupyverse \
    --disable auth_fief \
    --disable auth_jupyterhub \
    --disable noauth \
    --disable file_watcher_poll \
    --disable notebook

Using pip

Using pip sometimes gives more control, for instance if you want to install third-party libraries in development mode too. It is recommended to create a virtual environment before running the following commands:

for dir in ./api/*; do dirname=$(basename "$dir"); pip install -e "./api/$dirname"; done
for dir in ./plugins/*; do dirname=$(basename "$dir"); pip install -e "./plugins/$dirname"; done
pip install --group test -e .

Run tests with:

pytest -v

Run jupyverse with:

jupyverse \
    --disable auth_fief \
    --disable auth_jupyterhub \
    --disable noauth \
    --disable file_watcher_poll \
    --disable notebook

探索相关项目

加载中…