r/IPython • • Aug 24 '13

Exploring grain settling with Python

http://nbviewer.ipython.org/6198230
7 Upvotes

5 comments sorted by

View all comments

Show parent comments

1

u/westurner Aug 26 '13 edited Aug 26 '13

nbviewer runs nbconvert to render an .ipynb source file to an HTML template.

You can download the notebook .ipynb source file by clicking the 'Download Notebook' link.

[EDIT] Or with s/nbviewer.ipython.org/gist.github.com/ if the URL matches \d+.

Do you have a suggestion for how that could be improved?

2

u/onalark Aug 26 '13

The suggestion is more on how people link to Notebooks as well as author them.

I'd prefer if the authors of notebooks put in a title, license, and authors field up at the top so it's easier to track down who is responsible for the content.

I'd also prefer if people linking on places like reddit fill in whatever information they have about this if it's missing.

The only thing I think nbconvert could do here is add a field pointing to the owner of the gist on GitHub.

1

u/westurner Aug 26 '13

The suggestion is more on how people link to Notebooks as well as author them.

Like a more descriptive blurb / summary?

I'd prefer if the authors of notebooks put in a title, license, and authors field up at the top so it's easier to track down who is responsible for the content.

Sort of like ReStructuredText field lists?

I'd also prefer if people linking on places like reddit fill in whatever information they have about this if it's missing.

The only thing I think nbconvert could do here is add a field pointing to the owner of the gist on GitHub.

if is_gist_url(nb_url):
    add_gist_link_below_download_notebook_link()

https://github.com/ipython/ipython/issues/new

1

u/onalark Aug 26 '13

Exactly. As I said here the issue is not really in IPython/nbconvert, it's the way people are sharing notebooks where it's hard to get an idea of attribution and license.