<div dir="ltr">great! Feel free to list it on the extensions index at the wiki:<div><br></div><div><a href="https://github.com/ipython/ipython/wiki/Extensions-Index">https://github.com/ipython/ipython/wiki/Extensions-Index</a><br>

</div><div><br></div><div>Cheers,</div><div><br></div><div>f</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 6:30 AM, Martín Gaitán <span dir="ltr"><<a href="mailto:gaitan@phasety.com" target="_blank">gaitan@phasety.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>Try to do some data analysis on <a href="http://resultados.gob.ar" target="_blank">resultados.gob.ar</a> (the portal with official data of the elections in Argentina) [1]  I've done a **fast and dirty** cell magic to define django's models dynamically.<br>



<br><a href="https://gist.github.com/mgaitan/7207448" target="_blank">https://gist.github.com/mgaitan/7207448</a><br><br></div><div>usage example can be seen here:<br><br><a href="http://nbviewer.ipython.org/7224431#modelando-resultados.gob.ar-en-una-base-de-datos" target="_blank">http://nbviewer.ipython.org/7224431#modelando-resultados.gob.ar-en-una-base-de-datos</a>  <br>



<br>as a short rationale: <br><br>It's clear that django is not conceived for this use case, but I love its ORM. The problem is that it needs some setup (configure "apps", databases, etc. ). This magic handle that, and then import every model. <br>



<br></div><div>of course, there are tons of things to improve, but would be great some early feedback .<br><br></div><div>cheers. <br></div><div>m.<br></div><div><br></div><div><br>[1]  In my province (Córdoba) there was an "affair" with the last congressman seat, due the difference is very short (<0.06%) and some people found not computed votes in the telegrams (particularly, for the Left Union Party). I'm hacking a bit trying to find more "suspicious" cases: <a href="http://nbviewer.ipython.org/7224431" target="_blank">http://nbviewer.ipython.org/7224431</a><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="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Fernando Perez (@fperez_org; <a href="http://fperez.org" target="_blank">http://fperez.org</a>)<br>fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)<br>

fernando.perez-at-berkeley: contact me here for any direct mail<br>
</div>