[IPython-dev] Data from js to Python

Wes Turner wes.turner at gmail.com
Thu Sep 24 17:25:09 EDT 2015


https://www.google.com/search?q=ipython+d3

Vega visualization grammar
| Docs: https://github.com/vega/vega/wiki/Vega-and-D3
| Homepage: https://vega.github.io/

mpld3: matplotlib + d3
| Homepage: http://mpld3.github.io/

IPython widgets (interactive)
| Docs: https://github.com/ipython/ipython/wiki/widgets

pythreejs IPython Notebook extension
| Src:
https://github.com/jovyan/pythreejs/blob/master/pythreejs/pythreejs.py
three.js
| Src:
https://github.com/jovyan/pythreejs/blob/master/pythreejs/nbextension/pythreejs.js

* [ ] JSON-LD
   * http://json-ld.org/playground/
On Sep 24, 2015 3:25 PM, "Kiko" <kikocorreoso at gmail.com> wrote:

>
>
> 2015-09-24 22:17 GMT+02:00 Jacob Evans <jakegod14 at gmail.com>:
>
>> Hey Kiko,
>> What kind of data are you trying to get into python and in what way?
>>
>> I think what your looking for is called JSON
>> https://en.wikipedia.org/wiki/JSON
>>
>> What you going to do is format your JavaScript output into JSON then
>> processes in python with a package like json.
>>
>> Example here
>> http://docs.python-guide.org/en/latest/scenarios/json/
>>
>>
> Thanks Jacob,
>
> I think I didn't explain it very well.
>
> A dummy example, I have a D3 scatter plot on the notebook and I want to
> select some of the points with the mouse and then I want this selection to
> be available in Python to analyse it or whatever.
>
> Maybe this example make things clearer.
>
>
>>
>> On Thu, Sep 24, 2015 at 2:12 PM, Kiko <kikocorreoso at gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> Is there a way to get information from javascript into Python?
>>>
>>> I googled about it but I couldn't find related info.
>>>
>>> Thanks!!
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> https://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> https://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> 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/20150924/1059570b/attachment.html>


More information about the IPython-dev mailing list