[IPython-dev] New IPEP for a multi-directory notebook in IPython

MinRK benjaminrk at gmail.com
Fri Apr 12 00:14:13 EDT 2013


We do need to figure this one out.  There are still some questions to work
out:

What does `foo/bar` resolve to? Is it relative to the initial notebook
server directory, or is it absolute?

We already have redirects
<https://github.com/ipython/ipython/pull/3058>for notebook name ->
notebook id URLs, perhaps rather than having 'true'
paths in the URLs, we have project-ids, just like we have notebook-ids, and
a redirect handler for loading a project,

i.e:

    /project/path/to/notebook-dir redirects to /project-id/

and /project/path/to/notebook-dir/notebook.ipynb redirects to
/project-id/notebook-id

The reason we have notebook-id URLs is that handling the url rewrites /
redirects on notebook renames might be tricky.  It could be that redirects
are a sensible  compromise.


On Thu, Apr 11, 2013 at 6:14 PM, Paul Ivanov <pi at berkeley.edu> wrote:

> Zachary Sailer, on 2013-04-11 17:34,  wrote:
> > Hi everyone,
> >
> > Take a look at the new IPEP added to the IPython wiki page,
> > IPEP 16: Notebook multi directory dashboard and URL mapping.
> >
> >
> https://github.com/ipython/ipython/wiki/IPEP-16%3A-Notebook-multi-directory-dashboard-and-URL-mapping
>
> Looks pretty good, Zach - I adjusted some wording to emphasize
> just how bad the problem is (you have to restart the server, or
> start a new one, not just a new dashboard).
>
> I'm a bit confused by the wording of 'notebooks' and 'app' -
> where you says something about the possibility of having
> a folder named 'notebooks' -- what if the user has a folder named
> 'app'?
>
> best,
> --
> Paul Ivanov
> http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130411/ac1392d9/attachment.html>


More information about the IPython-dev mailing list