[IPython-dev] Execute python code from the notebook dashboard
bussonniermatthias at gmail.com
Wed May 7 05:59:46 EDT 2014
Le 3 mai 2014 à 17:00, Clyde Fare a écrit :
> I'm trying to create a graphical IPython notebook dashboard that represents a collection of notebooks as a network, where nodes are the notebooks and the links between them are links between notebooks specified in markdown cells.
> I've got something that kind of works (https://github.com/Clyde-fare/ipython_graphdash) but it requires manual execution of some python code in the directory that IPython is launched from. I'd like to get rid of this requirement by having this python code execute when people click the refresh notebook list icon on the dashboard.
In IPython 2.0 you can access the list of notebook and kernels using the rest API under /api/*
So you can start notebook-less kernel to do whatever you like, and stop it afterward.
You can also get notebook content through this way.
So I would suggest building an alternative dashboard the use this API
> IPython-dev mailing list
> IPython-dev at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev