[IPython-dev] Dockable widgets for IPython

Matthias Bussonnier bussonniermatthias at gmail.com
Fri Jan 30 05:30:32 EST 2015


Hi, 

To add to what Nicholas said, 
After IPython 3.0 we will split the widget in a separate repository. 
It will be easier to contribute/discuss than just before 3.0 release
or while widget are still tightly entangled with IPython code. 
-- 
M


Le 29 janv. 2015 à 19:32, Nicholas Bollweg <nick.bollweg at gmail.com> a écrit :

> cedric:
> 
> this looks very cool: as the "ipython is not a platform" party line softens, ideas like this are important for pushing what "interactive computing" can be like. My immediate concern would be in not knowing which cell a particular widget came from. Additionally, from a purely stylistic sense, try using bootstrap panels and fontawesome to make it flow more seamlessly with the notebook UI.
> 
> I think several folks have been looking for this in the past, especially with creating such controls at notebook load time:
> http://python.6.x6.nabble.com/How-To-create-persistent-interactive-UI-elements-outside-cells-td5079080.html#a5079562
> 
> I'd say near-term, see if you can repackage this into an nbextension that someone can optionally add at profile config/run-time. If it can be made into pure javascript that stores its data in the notebook/cell metadata, that lowers the barrier to entry... and makes it more feasible to use with other kernels.
> 
> Otherwise, if you need the python part, there is the approach taken by cite2c. Specifically, allowing the configuration of the web app (not the kernel) to include loading custom extensions.
> 
> i have been interested in alternate editable layouts for some time: of them i think live_reveal, while still a little fiddly to install, has the most potential for becoming something that would make sense to ship with the notebook experience, especially as it is cell-based, (really) front-end only and its metadata is already integrated into nvconvert and (soon, hopefully!) nbviewer. If your widgets could survive nbviewer (either with or without help from a custom converter) that would be really cool... once static widgets are supported.
> 
> i have a bit of python widget code that will populate widgets on top of SVG regions (as defined by layers in inkscape): this makes it easy to build up full-screen capable dashboards without requiring a lot of CSS/JS knowledge.
> 
> SVGLayout(svg="dashboard.svg",
>           children={"chart": SomeChartWidget()})
> 
> i want to refactor it into pure javascript as well.
> 
> keep the list posted!
> 
> On Thu, Jan 29, 2015 at 11:57 AM, cedric gestes <ctaf42 at gmail.com> wrote:
> I hacked a prototype of dockable widgets using DockSpawn.
> 
> see
> http://www.hostingpics.net/viewer.php?id=990121201501291741191600x900scrot.png
> for a screenshot.
> 
> Before going further I would like to take your advice on the subject.
> 
> Is that something wanted in IPython?
> 
> We can imagine having cells and widgets in docks.
> 
> The prototype is hackish and just a proof of concept.
> 
> You can find it github on the branch dockspawn of:
> github.com/ctaf42/ipython and github.com/ctaf42/ipython-components
> 
> just checkout, run IPython and open a notebook like this one:
> http://nbviewer.ipython.org/gist/ctaf42/e029c475b08bdfe43f6a
> 
> Cedric
> 
> 
> 
> 
> --
> View this message in context: http://python.6.x6.nabble.com/Dockable-widgets-for-IPython-tp5084622.html
> Sent from the IPython - Development mailing list archive at Nabble.com.
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> _______________________________________________
> 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/20150130/152431be/attachment.html>


More information about the IPython-dev mailing list