[IPython-User] embed data in notebooks?

Dave T dave@davestechshop....
Tue Jun 5 17:25:36 CDT 2012

On Tue, Jun 5, 2012 at 4:07 PM, MinRK <benjaminrk@gmail.com> wrote:

> Our idea is not "notebook as dir" but "project as dir/repo", where a
> project contains any of: notebooks, data files, Python modules, etc.
> I don't think storing binary data in the notebook file itself is worth a
> new kernel-side API, more than existing systems for b64 data in Python
> scripts, which will work just as well in the notebook as anywhere else (not
> that they are great, of course).
> We did seriously consider the idea of archive file-formats while planning
> the notebook format, but we decided (largely from the perspective of VCS,
> etc) that JSON makes much more sense, and data files belong at the project
> level.  For instance, what if you want two notebooks to work on the same
> data? The data shouldn't live in either notebook, nor in both.
> What is unfortunate at this point is that we really haven't developed our
> project-level UI/APIs yet, they only exist in the planning stages.  I think
> once you have project as dir/repo, then the benefits of data in the
> notebook file itself vanish, as the project becomes the unit of
> sharing/etc.  We would certainly have the ability to support *project* as a
> zipfile, that gets extracted on upload to the server.
> -MinRK

That sounds like a very nice solution. I look forward to the project-level
UI. Thanks for letting us know about this planned feature.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20120605/18a08bbe/attachment-0001.html 

More information about the IPython-User mailing list