跳转到主要内容

为Girder提供的Jupyter内容管理器

项目描述

Build Status PyPI version PyPI status

The Jupyter Notebook web application provides a graphical interface for creating, opening, renaming, and deleting files in a virtual filesystem. girder_jupyter is a python package that implements a contents manager to allow Girder to become a backend for this virtual filesystem. This allows notebooks and files to be stored in a Girder server from within Jupyter.

入门

在运行Jupyter服务器的Python环境中安装此包

pip install girder-jupyter

将以下选项添加到您的 jupyter_notebook_config.py

c.NotebookApp.contents_manager_class = 'girder_jupyter.contents.manager.GirderContentsManager'
c.GirderContentsManager.api_key = '<api key>'
c.GirderContentsManager.api_url = '<api url>'

其中 <api key> 是Girder服务器的一个API密钥<api url> 是您想使用的Girder实例的URL,例如 http://localhost:8080/api/v1

配置参数

  • api_url - Girder服务器的一个API URL。默认为‘http://localhost:8080/api/v1

  • api_key - 在api_url处的Girder服务器的一个API密钥。密钥应该有读取和写入权限范围。

  • token - 在api_url处的Girder服务器的一个token。当从JupyterHub运行实例时,此参数特别有用。

  • root - 使用作为内容管理器根的Girder层次结构中的根。此路径可以包含 {login},它将被当前用户的登录名替换。默认为 'user/{login}'

请注意,内容管理器要能够通过Girder服务器进行身份验证,必须提供 api_keytoken

项目详情


下载文件

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

源分发

girder-jupyter-0.2.2.tar.gz (14.4 kB 查看哈希值)

上传时间

支持者包括