[IPython-dev] Nbparameterise: simple forms for notebook input

Thomas Kluyver takowl at gmail.com
Wed Oct 8 17:50:37 EDT 2014


On 8 October 2014 14:08, Antonino Ingargiola <tritemio at gmail.com> wrote:

> What I have done is completely custom (but straightforward). Would be nice
> if nbparameterise could standardize a way to specify a "list" of values for
> a variable so the notebook can be executed in batch mode, saving the output
> for each execution. Saving in notebook format is somewhat diff-safe. What
> about HTML? I suspect it may be a little more tricky to diff...


You could certainly use the API to do that. I've added an example:
https://github.com/takluyver/nbparameterise/blob/master/batch_eg.py

You could wrap that up in a higher level interface if you wanted, but I
wouldn't go too high level with it: I can imagine that people might want
the list of values to come from lots of different places, e.g. directory
listsings, or databases.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20141008/6a892fa4/attachment.html>


More information about the IPython-dev mailing list