[IPython-dev] How can an extension add Notebook URL handlers?

David Wolever david at wolever.net
Thu May 23 18:33:25 EDT 2013


Hey,
I'd like to turn BrowserCast into a "real" extension… but to do that, I need to extend NotebookWebApplication's list of URL handlers to include a handler which will serve the relevant static files (ex, a handler so that requests for "/browsercast/static/(.*)" will be served from "…/site-packages/ipython_browsercast/static/").

How can I do that?

Thanks,
David

--
phone: (416) 906-0403
pgp: B230230D




More information about the IPython-dev mailing list