Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to coauth on Jupyter Notebooks? or share the notebook in an editable mode?

I am trying to share my Jupyter notebook with my team and want us all to coauth on the same notebook? Is it possible ?

like image 550
Divya Janarthanan Avatar asked Dec 06 '25 06:12

Divya Janarthanan


1 Answers

Yes, JupyterLab 3.1 introduces Real Time Collaboration mode:

  1. Ensure you have JupyterLab 3.1 or newer installed, and for convenience install jupyterlab-link-share:

    pip install -U "jupyterlab>=3.1" jupyterlab-link-share
    
  2. Add c.LabApp.collaborative = True setting to your config file (which is jupyter_server_config.py or jupyter_notebook_config.py depending on the server you use)

  3. After restarting JupyterLab open the new Share menu and choose Share Jupyter Server Link, copy the link and send it to your collaborator. Of course, the serve needs to be accessible for them (in the same network, or publicly available).

You can try it out on binder: Binder (here using this public gist).

enter image description here

JupyterHub users may need to perform additional configuration (as discussed on the discourse here) because there are additional permissions/authentication questions to be dealt with.

like image 57
krassowski Avatar answered Dec 10 '25 17:12

krassowski



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!