为Girder提供的Jupyter内容管理器
项目描述
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_key
或 token
。
项目详情
girder-jupyter-0.2.2.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | b77599d7d499a511e3d5243be935c03f66ff1a2ae1923dd3d5fd6fe899cecd2d |
|
MD5 | bb992a7271953ccb8111ee7645a231cb |
|
BLAKE2b-256 | ea0119f8c7534bc4823800102093bb19c9ef9be5f7fda5db82ec162058911eca |