[IPython-User] Run IPython Notebook and store results.

MinRK benjaminrk@gmail....
Mon Aug 5 15:58:01 CDT 2013


I think you are looking for this
script<https://gist.github.com/damianavila/5208296>,
which runs and saves a notebook. I don't think it saves a copy, but it can
be trivially modified to do so.


On Mon, Aug 5, 2013 at 1:38 PM, Heiko Strathmann <heiko.strathmann@gmail.com
> wrote:

> Hi!
>
> My name is Heiko and I work for the Shogun machine learning toolbox.
> https://github.com/karlnapf/shogun
>
> We are absolutely amazed by the ipython notebooks  and would like to
> start using them for our documentation/tutorial :)
> Our codebase is in c++ but we make massively use of SWIG and python.
>
> We have the idea that developers create notebooks to illustrate
> certain algorithms. Those should then automagically be excecuted on
> our buildbot/travis to detect API changes etc, and prevent errors --
> to make them sustainable.
> Then, we want to store a copy of the notebook (with all results/plots
> included) on our webserver, and finally use the nbviewer website to
> render the notebooks and embed the links into our website/tutorial.
>
> I have seen nbconverter. I am new to it and basically want to have
> non-interactive python scripts that do
> the mentioned tasks:
> 0.) Remove all results from an existing notebook
> 1.) Run notebook and report if not succeded
> 2.) Store all results in a copy of the notebook
>
> I have found scripts for 0,1 but am a bit unsure about 2 Do you have
> any tips how to do this most effectively?
>
> Thanks a lot and good night!
>
> Heiko
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20130805/6f9c0f96/attachment.html 


More information about the IPython-User mailing list