Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to have interactivity of Jupyter Notebooks online? [closed]

I was wondering if there is a site where one can link a Jupyter Notebook and in return be able to run the notebook interactively? Basically an online or cloud version of Jupyter where the input cells can be modified and run live.

I know there is http://nbviewer.jupyter.org/, but that is a static renderer. I want to be able to run the IPythonWidgets that I have used in this Side Project that I'm working on. It would be nice to send a link to other people who can interact with it without having a local installation of Jupyter or Anaconda.

I tried to look for duplicates, but I couldn't find anything else that answered my question.

(Also, please ignore the incompleteness in my project. I only uploaded it to show what I meant. I haven't polished it yet. If you go down to In[5], that is where I have coded in some widgets that dynamically change the plot.)

like image 496
ssurendr Avatar asked Jan 16 '17 08:01

ssurendr


People also ask

Does jupyter notebook Always open in browser?

3.2. In more detail, the Jupyter Notebook App is a server that appears in your browser at a default address (http://localhost:8888). Closing the browser will not shut down the server. You can reopen the previous address and the Jupyter Notebook App will be redisplayed.

How do you share an interactive jupyter notebook?

Sharing Locally You can export to a variety of formats from within the notebook by navigating to File -> Download As. You'll want to export your notebook as a Jupyter Interactive Notebook ( . ipynb file format) if you'd like the person you're sharing it with to interact with the notebook.

How do I close a jupyter notebook session?

NOTE: You can also shutdown a Jupyter Notebook session by clicking in the Terminal window and clicking Ctrl+c . You will be asked to confirm that you want to Shutdown this notebook server (y/[n])? . Type y and hit Enter to confirm. Then, you can close the Terminal by typing the command exit and hitting Enter .

Are Jupyter notebooks interactive?

Jupyter Notebook has support for many kinds of interactive outputs, including the ipywidgets ecosystem as well as many interactive visualization libraries.


2 Answers

There are online hosting services for Jupyter notebooks, like Jupyo.com. With services like Jupyo you can create or open any Python/R/Julia notebook, run cells live, store data, access external network, etc.

like image 96
artur Avatar answered Oct 05 '22 04:10

artur


Thanks to nitind below, I was able to use the correct vocabulary to find my solution. For the people that may stumble across this post with the same mindset I had, I found a site called Binder.

As long as you have a GitHub Repo link, the site will turn that into an online interactive notebook for any user with the link. As far as I can tell, this is exactly what I had in mind. I'll come back and edit, if something falls short of my assumptions.

I like to thank nitind again for introducing me to Dashboards as well. I'll definitely dive down into that area and try to combine them with the site I found.

like image 20
ssurendr Avatar answered Oct 05 '22 03:10

ssurendr