<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 1, 2015 at 12:57 PM, Nicholas Bollweg <span dir="ltr"><<a href="mailto:nick.bollweg@gmail.com" target="_blank">nick.bollweg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>To answer my own questions:<br></div>NumericalTrait doesn't yet work with ipywidgets. But it probably could!<br><br></div>We made an example that uses a passthrough traitlet:<br><a href="http://nbviewer.ipython.org/gist/anonymous/0358c8fee545f6ab5853" target="_blank">http://nbviewer.ipython.org/gist/anonymous/0358c8fee545f6ab5853</a><br><br></div>Everything works pretty well, with two sliders exposing the same value, automatically handling the translation. Nice!<br><br></div>The javascript side is a bit ugly, as there isn't a ton of resources for potentially complex forms. As it is, <a href="https://github.com/gentooboontoo/js-quantities" target="_blank">quantities</a> is the best option.<br></div></div></div></div></blockquote><div><br></div><div>- NumPy Support: <a href="https://pint.readthedocs.org/en/0.6/numpy.html">https://pint.readthedocs.org/en/0.6/numpy.html</a></div><div>- </div><div><br></div><div>Would [CSVW (csv2json, csv2rdf)] JSON-LD with e.g. QUDT be the most flexible option</div><div>for working with javascript <> [python] data</div><div>with Jupyter widgets?</div><div><br></div><div>- CSVW: <a href="https://w3c.github.io/csvw/">https://w3c.github.io/csvw/</a><br></div><div>- JSON-LD: <a href="http://json-ld.org/">http://json-ld.org/</a><br></div><div>- QUDT: <a href="http://lov.okfn.org/dataset/lov/vocabs/qudt">http://lov.okfn.org/dataset/lov/vocabs/qudt</a><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><br></div>It also looks like openmdao units would be possible, but it's all pretty baked in... perhaps this is an opportunity for entry_points?<br><br></div>As an aside, we tried to put that gist up as a binder, but ran into some issues... i'll raise them appropriately!<br></div></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/ipython-dev" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div></div>