[IPython-dev] Some new cell types for describing data analyses in IPy. Notebook

Stéfan van der Walt stefan at sun.ac.za
Wed Jul 10 04:40:20 EDT 2013

On 10 Jul 2013 04:33, "Brian Granger" <ellisonbg at gmail.com> wrote:
> It would be nice to write a long notebook and then add metadata to the
> notebook that indicates that some variables are to be treated as
> "templated" variables.  Then we would create tools that would enable a
> user to run a notebook over a range of templates:
> for x in xvars:
>   for y in yvars:
>     for algo in myalgos
>     run_notebook('MyCoolCode', x, y, algo)

I think it would be feasible to build git-like cell revision tracking on
top of the linear notebook, especially once widgets are in place. Imagine a
per-cell and per-notebook check-in that allows you to swap out different
versions of a cell, or different notebook configurations. This can be done
with a very lightweight abstraction that does not interfere with the
underlying notebook structure at all (in fact, I'd just use git as the
actual backend, and then have a layer on top that knows how to pick out
tagged cells from a nb).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130710/e965cc7c/attachment.html>

More information about the IPython-dev mailing list