I don't know exactly how it should work, but I like the idea of some way to store code and data together in a form that can easily be moved between computers and shared with colleagues.<br><br>CCed again Trent Hauck, the author of Gloo, the project manager mentioned on the list before, as he might have ideas relevant to the discussion.<br>

<br>Thanks,<br>Thomas<br><div class="gmail_extra"><br><br><div class="gmail_quote">On 20 November 2012 09:30, Matthias Bussonnier <span dir="ltr"><<a href="mailto:bussonniermatthias@gmail.com" target="_blank">bussonniermatthias@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Hi, </p>
<p>I think the subject of project bundle have already been discussed somewhere some time ago. I don't quite remember what was said.</p>
<p>I don't think it is worth a file 'format'. But unzipping/taring support maybe. But this will.come with the ability to browse disk with.frontend i think.</p>
<p>As we wish to have backend like git which have ways of generating tarball, we could hook on that. But lets not forget that zipping would lost commit history, and that seemless integration with things like github/gists (which can be multi files) would be better.</p>



<p>The dependencies/checking is IMHO ouside of IPython scope. There have been some mail on project manager for python a month or so ago, which are more general tool that could be adapted to works with IPython.</p>
<p>Thanks for your ideas, carry on we don't mind and love discussing.<span class="HOEnZb"><font color="#888888"><br>
-- <br>
Matthias.</font></span></p><span class="HOEnZb"><font color="#888888">
</font></span><div class="gmail_quote"><span class="HOEnZb"><font color="#888888">Le 20 nov. 2012 01:04, "Carl Smith" <<a href="mailto:carl.input@gmail.com" target="_blank">carl.input@gmail.com</a>> a écrit :</font></span><div>

<div class="h5"><br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Firstly, I'd like to say sorry to everyone on this list. I've been<br>
pretty vocal lately, mostly suggesting features that I'm only loosely<br>
committed to working on, or criticising features other people worked<br>
hard on. I really don't mean to be difficult. That said, I did want to<br>
bring up one more issue :)<br>
<br>
The current file format, .ipynb, works well for actual notebooks, but<br>
doesn't include the ancillary files, so it's hard to share your work.<br>
Obviously, users can put the notebook in the root directory of a<br>
project tree, ensure everything they want to share is in there<br>
somewhere, then zip it, but doing this by hand is not exactly<br>
convenient, and doesn't deal with stuff like config files well.<br>
<br>
I'd like to suggest creating a second file format, for packaged<br>
notebooks, that is just the current file format, but with the file and<br>
whatever else you'd like to include inside a zipped directory. IPython<br>
should recognise these package files and handle them, unzipping them<br>
behind the scenes.<br>
<br>
A user could still create a regular notebook, and work loosely, so<br>
they wouldn't need to worry about project directories. They could save<br>
this as a regular notebook, just as they can now. Nothing should<br>
change on that front, but, if the user was interested in sharing or<br>
publishing their notebook along with their data, they would be<br>
encouraged to create a notebook project. Only a project could be<br>
reliably packaged.<br>
<br>
It'd be nice to have a projectify tool that could take a notebook and<br>
check any paths that it uses, any extensions, any customisations or<br>
config files and raise warnings with dialogues if they're not where<br>
they need to be, so you could usually turn a sketchy notebook into a<br>
tidy project with a few clicks of the OK button.<br>
<br>
The Notebook interface would include New File and New Project options,<br>
so users will normally start with a regular file if they're just<br>
hacking stuff, and would start with a project if they intend to share<br>
it, but being able to turn a notebook into a project would be nice.<br>
The same tool would be able to check a project before it was packaged<br>
to ensure everything was still all present and correct.<br>
<br>
When working on a project, hitting Save would just update the notebook<br>
file, but hitting Package would run the validator and go through the<br>
motions, before zipping the project, ready for sharing. This process<br>
would copy any needed files from the user's current notebook profile<br>
too, so all that stuff would also be preserved in the package in a way<br>
that IPython knows how to handle.<br>
<br>
Longer term, this format could be extended to include an optional<br>
config file. If it was present, it'd be used for things like creating<br>
packages with many notebooks, that could be read like a book, or could<br>
include information on mounting big datasets or installing<br>
dependencies and so on, which would be especially handy for consistent<br>
environments like NotebookCloud or Wakari, where these types of things<br>
can be done pretty reliably with a script.<br>
<br>
Again, sorry to be so noisy just lately, and thanks for being so good<br>
about it. I'm just sharing ideas in the hope that there's enough value<br>
in some of them to justify the bandwidth I've consumed.<br>
<br>
Cheers all<br>
<br>
Carl<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org" target="_blank">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</blockquote></div></div></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div>