[IPython-dev] Embedding IPython Notebook in Flask web app

MinRK benjaminrk at gmail.com
Tue Oct 22 23:21:32 EDT 2013

Since all of the existing notebook web handlers are for tornado, you would
have to either rewrite the web side with django instead of tornado, or
*also* run a tornado webserver, and embed that content on your page (via
iframe or otherwise).

On Tue, Oct 22, 2013 at 7:40 PM, Yang Zhang <yanghatespam at gmail.com> wrote:

> I'm interested in embedding IPython Notebook in a Python (Flask) web app.
> This web app essentially lets users browse/view datasets.  When
> viewing a dataset, it would be great if we could add a button that
> starts an IPython Notebook (pre-loaded with the dataset and some
> utility libraries) to allow users to deep-dive into that dataset.
> I know this has been brought up a couple times in the past but I'm
> just asking again in case the situation has changed, since it's been a
> while, and also our situation is slightly different - we're not
> looking to provide generic IPython Notebook hosting, and we're not
> worried about security (this is an internal web app to just our team,
> all of whom have access to the underlying data anyway).
> I'm basically looking for the Notebook server analogy to
> IPython.start_ipython().  Any hints on the most straightforward route
> would be greatly appreciated.  Thanks in advance!
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20131022/e2f5a6b0/attachment.html>

More information about the IPython-dev mailing list