<div dir="ltr"><div><div>Matthias,<br><br></div>Thanks for the tips. We've been following Jake's experiments and will definitely make use of the ideas/code.<br><br></div>Jason<br></div><div class="gmail_extra"><br clear="all">

<div><br>Jason<br><a href="http://moorepants.info" target="_blank">moorepants.info</a><br><span>+01 530-601-9791</span><br></div>
<br><br><div class="gmail_quote">On Sat, Jun 15, 2013 at 9:45 AM, Matthias BUSSONNIER <span dir="ltr"><<a href="mailto:bussonniermatthias@gmail.com" target="_blank">bussonniermatthias@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Le 15 juin 2013 à 18:23, Jason Moore a écrit :<br>
<div class="im"><br>
> Brian,<br>
><br>
> So it seems that for us to get some data from a python object into our javascript, we write the data to file on the fly so that a js cell can pull it in from the filesystem or we hard code the data into the js string. Is that the way it should be done with the current setup?<br>


<br>
</div>You can with javascript make a call to IPython.kernel.execute that take a code string as input and a callback to deal with the data received back. Or embed in the js string if you already know the data at publish time.<br>


<br>
have a look at the following.<br>
<a href="http://jakevdp.github.io/blog/2013/06/01/ipython-notebook-javascript-python-communication/" target="_blank">http://jakevdp.github.io/blog/2013/06/01/ipython-notebook-javascript-python-communication/</a><br>
<br>
I suggest you have a look at user_expressions user_variables also in our doc.<br>
<div class="im"><br>
> So we'd like the functionality for GET/POST in the notebook for our project. And I have one full time student that starts this week. What would be the best way for us to contribute some patches to jumpstart this on the ipython side?<br>


<br>
</div>We need to discuss what we want for js<-> python bidirectional communications. More than get/post, people might want to be able to<br>
push data through web sockets.<br>
There are already been drafts, which were not merge because we were not totally happy with it.<br>
It is a complex subject, and I don't  think trying to tackle this is the right point to start.<br>
<br>
Several people are interested in this, and we really think we must discuss to determine what are the needs<br>
before trying to get any thing done.<br>
<br>
For the next few weeks we are focusing on polishing things to release 1.0 mid July, after we will start<br>
to do what is on 2.0 roadmap, this include javascript bidirectional communications.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Matthias<br>
<br>
Roadmap.<br>
<a href="http://ipython.org/roadmap-announcement.html" target="_blank">http://ipython.org/roadmap-announcement.html</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</div></div></blockquote></div><br></div>