【问题标题】:Is there a way to coauth on Jupyter Notebooks? or share the notebook in an editable mode?有没有办法在 Jupyter Notebooks 上进行认证?或以可编辑模式共享笔记本?
【发布时间】:2019-03-27 00:09:11
【问题描述】:

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

【问题讨论】:

    标签: jupyter-notebook azure-notebooks


    【解决方案1】:

    是的,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)。

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-12-26
      • 2021-07-12
      • 2021-02-16
      • 1970-01-01
      • 1970-01-01
      • 2018-04-27
      • 1970-01-01
      相关资源
      最近更新 更多