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

Heiko Strathmann heiko.strathmann@gmail....
Mon Aug 5 17:28:18 CDT 2013


Worked, thanks! :)

2013/8/5 MinRK <benjaminrk@gmail.com>:
> Sorry, it needed some updates for API changes:
>
> https://gist.github.com/minrk/6160067
>
>
> On Mon, Aug 5, 2013 at 3:12 PM, Heiko Strathmann
> <heiko.strathmann@gmail.com> wrote:
>>
>> Hi,
>>
>> I tried using the script with the latest git, but I get errors:
>> Traceback (most recent call last):
>>   File "/home/heiko/git/kameleon-mcmc/run_and_store_output.py", line
>> 18, in <module>
>>     from IPython.kernel.blockingkernelmanager import BlockingKernelManager
>> ImportError: No module named blockingkernelmanager
>>
>>
>> It seems that this commit is repsonsible (some split of an existing
>> class into two)
>>
>> https://github.com/ipython/ipython/commit/5e1e98c2894a78dcc25376054aa99d5b86dc2c04
>>
>> I tried fixing it by instantiating both the new client and manager
>> class but only get other errors. Any help is appreciated!
>>
>> Heiko
>>
>> 2013/8/5 MinRK <benjaminrk@gmail.com>:
>> > I think you are looking for this script, 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
>> >
>> >
>> >
>> > _______________________________________________
>> > IPython-User mailing list
>> > IPython-User@scipy.org
>> > http://mail.scipy.org/mailman/listinfo/ipython-user
>> >
>> _______________________________________________
>> IPython-User mailing list
>> IPython-User@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-user
>
>
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>


More information about the IPython-User mailing list