Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is it possible to embed an interactive IPython Notebook in my website/blog?

Suppose I've created my wonderful IPython notebook (that is, a .ipynb file). Now, is it possible to make it available for users of my website/blog?

With "available" I mean the following: they arrive to my website, find the notebook and immediately start to play with it (run code, display plots, change parameters etc etc)... But, without need the need to install anything on their local machine.

I already know the existence of Jupyther, that make it possible to share notebooks. But, as in this example, what the user would find is a simple web page, and in order to run the code he would have to download the .ipynb --> save it in local machine ---> open it with a pre-installed IPython interpreter. This is something I would like to avoid.

Hope I was clear. Thanks in advance for your time.

Gabriele

like image 261
Gabriele Pompa Avatar asked Oct 31 '15 15:10

Gabriele Pompa


1 Answers

You can use tmpnb, which provides temporary notebook servers that get discarded after a while. If you want to have a different UI that better fits into a blog post, have a look at thebe.

like image 128
Kim Stebel Avatar answered Oct 06 '22 02:10

Kim Stebel