[IPython-dev] Url route to download a notebook and open it

Paddy Mullen paddy at paddymullen.com
Thu Aug 7 11:24:53 EDT 2014


It would be useful to have an url route that downloaded a notebook and
opened it.

I could see a route like http://localhost:8888/download/
https://raw.githubusercontent.com/ipython/ipython/master/examples/Notebook/SymPy.ipynb

that would download the SymPy notebook and open it.

This would make it easy to link to generated notebooks.  The alternative
workflow now is to provide a download link, and have the user drag that
file into the notebook filebrowser.

I realize that this would be a security risk, so it would probably be a
feature that was best disabled by default.  A configurable whitelist of
allowable download domains could help a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140807/a1d49623/attachment.html>


More information about the IPython-dev mailing list