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

Brian Granger ellisonbg at gmail.com
Wed Jul 10 12:23:11 EDT 2013


Nice idea - some of the branching could be built using git...

On Wed, Jul 10, 2013 at 1:40 AM, Stéfan van der Walt <stefan at sun.ac.za> wrote:
>
> 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).
>
> Stéfan
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu and ellisonbg at gmail.com



More information about the IPython-dev mailing list