有没有办法在Jupyter Notebooks上进行共同认证?或以可编辑模式共享笔记本?

时间:2019-03-27 00:09:11

标签: jupyter-notebook azure-notebooks

我正试图与团队共享我的Jupyter笔记本,并希望我们所有人在同一笔记本上进行共同验证?有可能吗?

1 个答案:

答案 0 :(得分:0)

是的,JupyterLab 3.1 引入了 Real Time Collaboration 模式:

  1. 确保您已安装 JupyterLab 3.1 或更高版本,并为方便起见安装 jupyterlab-link-share

    pip install -U "jupyterlab>=3.1" jupyterlab-link-share
    
  2. c.LabApp.collaborative = True 设置添加到您的配置文件(即 jupyter_server_config.pyjupyter_notebook_config.py 取决于 server you use)

  3. 重新启动 JupyterLab 后,打开新的 Share 菜单并选择 Share Jupyter Server Link,复制链接并将其发送给您的合作者。当然,他们需要可以访问服务(在同一网络中,或公开可用)。

您可以在活页夹上试用它:Binder(此处使用此 public gist)。

enter image description here

JupyterHub 用户可能需要执行其他配置(如 discourse here 中所述),因为还有其他权限/身份验证问题需要处理。