<div dir="ltr">Here is a simple script that connects to an existing kernel and watches a particular variable name, displaying its representation every cell (if it changes). The same could be done for HTML table representations of data frames, etc.<div>

<br></div><div><a href="https://gist.github.com/5544117">https://gist.github.com/5544117</a><br></div><div><br></div><div>-MinRK</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 8, 2013 at 2:38 PM, Thomas Kluyver <span dir="ltr"><<a href="mailto:takowl@gmail.com" target="_blank">takowl@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>It's an interesting idea. Unfortunately, there's nothing in the message spec to subscribe to updates on a particular object or group of objects, and I can't off the top of my head think how we'd add that. You could send the object of interest to the frontend after each execution in the kernel, although that could be inefficient if you have a large object that you're making frequent changes to.<br>



<br></div>I think all our frontends so far are designed around entering and running code. You could have a look at how Spyder's object inspector is implemented, though.<br><br></div>Best wishes,<br>Thomas<br></div><div class="HOEnZb">

<div class="h5"><div class="gmail_extra">

<br><br><div class="gmail_quote">On 8 May 2013 18:49, Greg Wilson <span dir="ltr"><<a href="mailto:gvwilson@third-bit.com" target="_blank">gvwilson@third-bit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



Small world :-)<br>
<span><font color="#888888">- G<br>
</font></span><div><div><br>
On 2013-05-08 1:35 PM, Patrick Surry wrote:<br>
> I've become a big fan of IPython + pandas for data analysis, and have got interested in the idea of building a simple UI for end-user interaction with pandas DataFrame and Series objects. The idea being to streamline the initial exploratory data analysis process.  Sort of like an object-specific "watch" window that you'd use in a debugger.<br>




><br>
> It seems like the IPython communication model is ideal for that kind of thing, so I could potentially build a little UI analogous to the qtconsole which could subscribe to the server process and watch whatever object I'm interested in, and maybe have UI elements that issued python statements back to the server.  But I'm new to the dev side of IPython and haven't figured out where to start.<br>




><br>
> I'm curious to know if anyone has done anything like that before, and whether there are any examples I could work from.  Perhaps the "Hello World" of custom IPython clients?<br>
><br>
> Advice welcome,<br>
><br>
> Thanks,<br>
> Patrick<br>
><br>
> _______________________________________________<br>
> IPython-dev mailing list<br>
> <a href="mailto:IPython-dev@scipy.org" target="_blank">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>
<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org" target="_blank">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>
</div></div><br>_______________________________________________<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>
<br></blockquote></div><br></div>