-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow storing watermark info in metadata? #4
Comments
Thanks for the suggestion, this sounds interesting. API-wise, I would think of an additional (optional) flag that would maybe write the produced output into the meta-tag. Just wondering, what application and use-case would you have in mind? Right now, for example, I'd use this plugin to conveniently show the time-stamp of the last update to users. Or to show Python versions and packages that were used to create those results. I am just wondering how the "meta" tag could be additionally used to improve reproducibility. |
Thanks for the response. Yeah, -m is already taken, but something to that I think the big win is that metadata in standard formats (iso, etc) is more So if one has a big stack of documentation notebooks in a repo, one can When we get better search, either in Jupyter hub or in custom deployments, On 23:34, Tue, Sep 1, 2015 Sebastian Raschka notifications@github.com
|
Good point, I agree. In this context, I could also imagine an optional little add-on to write all current package specifications of the Python env into the metadata as in Btw. something like
seems to be okay! However, I would suggest to not use the 1-letter short form here and go with Would you be interested in implementing such a feature? |
Sorry I didn't get back to you sooner: traveling! I'd love to take a whack at this. Hopefully I can get a PoC up quickly. Addons are great, but likely outside the scope of this particular request! But, since we're off topic... I highly recommend building them In addition to
|
No need to apologize, and I am sorry, too. It was a pretty hectic week. I am currently in final stage of finishing up my new book that is coming out in 1-2 weeks and there is a lot of stuff to be done :). So, I think writing to the meta-tags as an option would be great. And I will open separate issues for the other suggestions. I like the idea of considering other "managers"/"environments" Cheers, |
Worth reheating this discussion? I think it would be cool to have the information inside the metadata of the notebook. Then follow up with a PR for conda-tools/conda-execute#3 which might make the notebook a "shareable unit". Right now for sharing notebooks you need to make repository with a |
I don't really know much about the formatting recommendation/guidelines in/for Jupyter notebooks, and if there's a difference between Jupyter Notebook and Jupyter Lab in terms on what gets written to .ipynb files. However, I noticed that in the Jupyter Lab UI, there's a metadata field, which would probably be equivalent to what @bollwyvl mentioned with
In any case, if you or @bollwyvl or someone else would like to implement this (a way to optionally write metadata), I'd be very open to this and be happy to merge it (there was good work in progress over at #7 ). This could be either via a
|
Watermark looks great for reproducibility.
It would be nice to have an option to (also) store this data in the notebook
metadata
:Maybe some more hierarchy in there as well...
Since the kernel doesn't have any idea what's going on w/r/t notebooks, it would probably have to be done with a
display.Javascript
:Happy to help with a PR, if you would think there is a place for this!
The text was updated successfully, but these errors were encountered: