[IPython-User] Hook to add alternative notebook manager

Benjie Chen benjie@ginkgobioworks....
Thu Aug 9 12:43:37 CDT 2012

Follow up on this. I was able to just use Brian's branch, pull request
2045, and not have to create separate mechanisms to introduce
alternative notebook managers. I've updated the Django notebook
manager to have a reasonable UI (to start). Instructions are at


The UI currently allows listing, creating new notebooks, see deleted
notebooks, see archived revisions of notebooks, search by name. We
will add tagging later on.

One major piece that still needs to go into the UI is talking with the
iPython server and manage kernels, so we don't leave too many kernels
open and wasting memory. My plan is to just get list of open kernels
from iPython server, show which notebook has open kernel, and perhaps
give user warning about too many kernels open.



On Tue, Jul 17, 2012 at 12:06 PM, Benjie Chen <benjie@ginkgobioworks.com> wrote:
> Hi,
> I added a simple hook to support alternative notebook managers. Patch is at
> https://github.com/benjiec/django-ipy-nbmgr/blob/master/ipython.patch
> (from repo: https://github.com/benjiec/ipython)
> I implemented an alternative notebook manager at
> https://github.com/benjiec/django-ipy-nbmgr
> This notebook manager stores notebooks in database, using Django ORM.
> It also saves a readonly archived copy on each save, so all past
> revisions are kept. See README for instructions.
> The existing notebook and notebook manager interfaces are very clean,
> so it's very easy to implementing alternative notebook managers that
> list, create, open notebooks. Thanks iPython!
> This is all very preliminary, and we may end up adding user and
> tagging support in the future. I am not sure where the UI for the
> standard/default notebook manager is going, but the current clean
> interface certain makes it easy for others to develop customized
> notebook manager UIs.
> Thanks,
> Benjie

More information about the IPython-User mailing list