[IPython-dev] use case - embedding IPython notebook within website (Drupal at least for now)

Aron Ahmadia aron@ahmadia....
Mon Nov 19 11:52:30 CST 2012


Hi Dan

As you noted, there are pretty large security concerns with regards to this
sort of thing.  I am the CTO of RunMyCode.org, which is looking into
exploring similar solutions beyond just Python, and I'd be interested in
learning more about what you discover and learn from looking into this.

The guys at Continuum Analytics are doing something similar with
http://wakari.io

You could also look into the work that was done in NoteBook Cloud:
https://notebookcloud.appspot.com/docs

I believe iframes are the right approach, but I'm interested in hearing
what other people have to say.

Good luck,
Aron


On Mon, Nov 19, 2012 at 10:46 AM, Dan Lussier <dtlussier@gmail.com> wrote:

> Hi.
>
>
> I am a long time IPython user (thanks!) , but I am new to the IPython
> Notebook.
>
>
> I am interested in embedding IPython notebooks within a larger website
> project as a way to (1) statically demonstrate completed
> computations/figures, but also allow readers/users to experiment with their
> own computations.
>
>
> In reading about the Notebook - I understand I can generate a static HTML
> version of a notebook I develop and I could reskin (
> https://gist.github.com/1497850, https://github.com/fperez/blog).  This
> is close to what I am looking for, but a few additional points of interest
> for me are:
>
>
> * Ability to  embed the dynamic or state notebook within a larger page
> that is not generated by the IPython (iframes ?)
>
>
> * Security - constrain users to only limited resources on the webserver
> (file system, system function calls, total compute resources).  We are
> building a public facing website which will have numerous, but not a huge
> number of external users.
>
>
> * Flexibility - Currently we are using Drupal as the web framework for
> the project, but this may be subject to change in future iterations of the
> projects, so my main interest is in understanding a general approach which
> would allow IPython notebooks to be embedded within a page.
>
>
> If anybody has experience in doing something similar, or has developed a
> workflow that facilitates this type of process I would really appreciate
> the leg up.  If we end up developing a useful workflow or tool along the
> way we are happy to contribute it back to the project/ecosystem.
>
>
> Many thanks,
>
>
> Dan Lussier
>
>
>
>
>
> Dan Lussier, BSc  EIT
>
> Research Engineer
>
>
> Composites Research Network
>
> University of British Columbia
>
> www.crn.ubc.ca<https://www.mail.ubc.ca/owa/redir.aspx?C=sxEHcJMgAEWeszZ6z3Jk6TX6S9NNdM8I5C2ucLs5e9R_ujYUYHNOkP-3w8G_y1w9Z_VJsEyoYJQ.&URL=http%3a%2f%2fwww.crn.ubc.ca>
>
>
>
>
>
> Notice: This communication may contain confidential, proprietary or
> legally privileged information.  It is intended only for the person(s) to
> whom it is addressed.  If you are not an intended recipient, please notify
> the sender that you have received it in error and immediately delete the
> entire communication, including any attachments.
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20121119/8316acad/attachment.html 


More information about the IPython-dev mailing list