Sign inGet started
← Back to all guides

Real time collaboration in Jupyter

By Nick Barth

Updated on March 6, 2024

Exploratory programming in data notebooks is inherently collaborative. At the very least, you want to be able to share your findings with others. But its better if two or more people can jump in the same notebook and make changes together. Kind of like Google Docs or Figma, but in a data notebook.

JupyterLab has experimental support for realtime collaboration, but it takes some setting up. Other notebook tools make this much easier.

Running JupyterLab’s experimental realtime collaboration

You need to run JupyterLab in a server environment to use realtime collaboration in a meaningful way (see Jupyter notebooks online for more info). When you start JupyterLab you need to run it with the--collaborative flag (i.e. jupyter lab --collaborative).

Then you can share the URL of the notebook with others. They’ll be able to edit and run code just like you can. Read their docs for more information.

There are two pretty big drawbacks to this:

  1. You need to make sure the Jupyter server is running all the time.
  2. There is no kind of access management. It’s all or nothing. For example, you can’t have users with read-only access. If users can see the notebook, they can execute code.

Use a Jupyter-compatible notebook with realtime collaboration

These problems go away if you use a tool with realtime collaboration such as Deepnote.

Nick Barth

Product Engineer

Nick has been interested in data science ever since he recorded all his poops in spreadsheet, and found that on average, he pooped 1.41 times per day. When he isn't coding, or writing content, he spends his time enjoying various pursuits leisure.

Follow Nick on LinkedIn and GitHub

That’s it, time to try Deepnote

Get started – it’s free
Book a demo

Footer

Solutions

  • Notebook
  • Data apps
  • Machine learning
  • Data teams

Product

Company

Comparisons

Resources

  • Privacy
  • Terms

© Deepnote