[IPython-dev] ANN: numtraits v0.2

Wes Turner wes.turner at gmail.com
Thu Oct 1 17:52:56 EDT 2015


On Thu, Oct 1, 2015 at 12:57 PM, Nicholas Bollweg <nick.bollweg at gmail.com>
wrote:

> To answer my own questions:
> NumericalTrait doesn't yet work with ipywidgets. But it probably could!
>
> We made an example that uses a passthrough traitlet:
> http://nbviewer.ipython.org/gist/anonymous/0358c8fee545f6ab5853
>
> Everything works pretty well, with two sliders exposing the same value,
> automatically handling the translation. Nice!
>
> The javascript side is a bit ugly, as there isn't a ton of resources for
> potentially complex forms. As it is, quantities
> <https://github.com/gentooboontoo/js-quantities> is the best option.
>

- NumPy Support: https://pint.readthedocs.org/en/0.6/numpy.html
-

Would [CSVW (csv2json, csv2rdf)] JSON-LD with e.g. QUDT be the most
flexible option
for working with javascript <> [python] data
with Jupyter widgets?

- CSVW: https://w3c.github.io/csvw/
- JSON-LD: http://json-ld.org/
- QUDT: http://lov.okfn.org/dataset/lov/vocabs/qudt



>
> It also looks like openmdao units would be possible, but it's all pretty
> baked in... perhaps this is an opportunity for entry_points?
>
> As an aside, we tried to put that gist up as a binder, but ran into some
> issues... i'll raise them appropriately!
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> https://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20151001/36daacdf/attachment.html>


More information about the IPython-dev mailing list