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

Matthias BUSSONNIER bussonniermatthias at gmail.com
Mon Nov 19 16:22:13 EST 2012


Le 19 nov. 2012 à 18:46, Dan Lussier a écrit :

> 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:

You could also have a look at nbviewer. (nbviewer.ipython.org) 

Since 0.13.1+ you should be able to override any file of ipython notebook by creating a modified version in .profile_xxx/static/whatever.
not sure about template though.

> 
> * 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.

We'll be happy to have you feedback to know what need to be done to help integration of notebook.

Looking forward to experience in integrating notebook, and contribution.
-- 
Matthias

> 
> Many thanks,
> 
> Dan Lussier
> 
>  
>  
> Dan Lussier, BSc  EIT
> Research Engineer
> 
> Composites Research Network
> University of British Columbia
> www.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 at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev




More information about the IPython-dev mailing list