How can I share Jupyter laptops with non-programmers?

I am trying to wrap my head around what I can / cannot do with Jupyter.

I have a Jupyter server running on our internal server, accessible via VPN and password protected.

I'm the only one who actually creates notebooks, but I would like some notebooks to be visible to other members of the read-only team. Ideally, I could just share with them the URL that they would bookmark when they want to see a notebook with updated data.

I have seen export options, but I can’t find references to “publishing” or “publishing” local notebooks. It's impossible? Maybe this is just the wrong way to think about how to use Jupyter?

+138
python ipython-notebook jupyter-notebook jupyter
Aug 6 '15 at 12:28
source share
12 answers

The “best” way to share a Jupyter notebook is to simply post it on GitHub (and view it directly) or some other public link and use the Jupyter Notebook Viewer . When privacy is more important, that is, an alternative, but it is, of course, more complex, there is no built-in way to do this only in Jupyter, but there are several options:

Post your own nbviewer

GitHub and Jupyter Notebook Veiwer use the same tool to render .ipynb files to static HTML, this tool is nbviewer .

Installation instructions are more complicated than I want here, but if your company / team has a common server that does not require access to a password, then you can host nbviewer on this server and forward it to download from your server with credentials., This will probably require a more complex configuration than you will find in the documentation.

Set up a deployment script

If you don’t need to update the HTML in real time, you can configure the script on your server with permissions, which will simply use the export options built into Jupyter to create static HTML files and then send them to a more public server.

+63
Oct 21 '15 at 0:22
source share

Michael suggests launching his own instance of nbviewer - this is the one I used in the past with the Enterprise Github server.

Another easy alternative is to have a cell at the end of your laptop that calls the nbconvert shell so that it automatically updates after everything starts:

!ipython nbconvert <notebook name>.ipynb --to html

EDIT . With Jupyter / IPython Big Split, you probably want to change this to !jupyter nbconvert <notebook name>.ipynb --to html now.

+23
Oct 21 '15 at 0:27
source share

Google recently unveiled its internal collaborative project ( link here ). You can launch notepad in the same way as launching Google Sheet or Google Doc, and then simply share the notepad or add collaborators.

This is by far the easiest way for me.

+22
Nov 28 '17 at 8:35
source share

If you use kyso.io (disclaimer: I founded kyso), you can easily share notebooks on the Internet:

  • You can show / hide the code so non-technical people can read it
  • Interactive visualizations work fine, both bokeh and plot.

Download your notepad here:

https://kyso.io/upload

Here are some examples:

+15
Jun 26 '17 at 9:15
source share

It depends on what you are going to do with your laptop: do you want the user to be able to recount the results or just play with them?

Static notebook

NBViewer is a great tool. You can use it directly inside Jupyter . Github also has a render, so you can directly link your file (e.g. https://github.com/my-name/my-repo/blob/master/mynotebook.ipynb )

Living notebook

If you want your user to be able to recount some parts, you can also use MyBinder . Starting up your laptop takes some time, but the result is worth it.

As @Mapl said, Google can host your laptop with Colab . A nice feature is the calculation of your cells using the GPU.

+10
Oct 29 '16 at 16:29
source share
+6
Oct 09 '16 at 4:43 on
source share

A great way to do this on WordPress consists of the following steps:

Step 1: Open the Jupyter notebook in a text editor and copy the contents that might look like this: your .ipynb file might look like this when you open it in a text editor.

Step 2: Ctrl + A and Ctrl + C are the contents. Then Ctrl + V this to the GitHub Gist, which you must create.

Step 3: Create a public entity and paste it, as you always embed bar graphs in WordPress, namely, go to the HTML editor and add this:

 [gist gist_url] 

I actually implemented this on my blog. You can find the post here.

+5
Jul 19 '16 at 11:22
source share

Another way to achieve this is to use JupyterHub .

With JupyterHub, you can create a multi-user hub that launches, manages and proxies multiple instances of a single-user Jupyter laptop. Thanks to its flexibility and settings, JupyterHub can be used to serve laptops to a student class, corporate data group or research group.

enter image description here

+4
Apr 19 '17 at 19:55
source share

on CoCalc you can upload your ipynb file and collaborate with others in real time. There is also a way to publish files as static HTML files, but you can also invite your team members to your project and work on the file while they watch what is happening. There is also a chat chat talking about the content.

+4
Nov 07 '17 at 21:02
source share

www.zepl.com is a research laptop hub. (disclaimer. I am a co-founder of ZEPL) You can connect Github or S3 to .ipynb files and get

  • Notebook access control (read-only publication)
  • Laptops automatically sync with Github / S3 (update)
  • Report looknfeel (for non-technical people)
  • Team and workspace for organizing the exchange (securely transmit the command)
  • Cell Comments
  • Both Jupyter laptops and Zeppelin laptop support
+3
Aug 18 '17 at 15:16
source share

The easiest way, and what I'm doing is to make sure that all of your drawings are embedded and published in HTML format. Thus, it can be viewed in any browser. You can also publish as PDF. You can optimize your laptop using commands such as head () so that pieces of information are viewable.

-one
Jun 10 '19 at 13:54 on
source share

Saturn Cloud lets you do it! There are a few key things that Saturn Cloud allows for other services.

  • Saturn Cloud Jupyter Notebooks launch instantly. Here's a notepad on Twitter on the topic of modeling . One click allows anyone to launch it.
  • User environment - with saturn you can go into the environment.yaml or require.txt file, and your dependencies on python are dockerized and will be used together with your laptops.
  • Scalable hardware - your shared laptops can use up to 64 GB of RAM, as well as the Tesla M60 GPU.
  • Saturn Cloud manages S3 for you - so you can store big data and share access to it in published notebooks
-one
Jun 11 '19 at 12:19
source share



All Articles