<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
    <channel>
    	<title>pradeepgowda.com</title>
    	<link>http://pradeepgowda.com</link>
    	<description></description>
        <copyright>CC Attribution-NonCommercial-NoDerivs 3.0</copyright>
        <ttl>30</ttl>
    	<pubDate>Tue, 16 Jun 2009 04:59:17 GMT</pubDate>
    	<lastBuildDate>Tue, 16 Jun 2009 04:59:17 GMT</lastBuildDate>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs>
      <generator>yaki</generator>
    	
    <item>
       <title>A script to generate SQL create table statement given a CSV file</title>
       <link>http://pradeepgowda.com/blog/2009/05/04</link>
       <description>&lt;p&gt;Given a &lt;span class="caps"&gt;CSV&lt;/span&gt; file with a header row and at-least one row of data, output a &lt;span class="caps"&gt;SQL&lt;/span&gt; `CREATE &lt;span class="caps"&gt;TABLE&lt;/span&gt;` statement by guessing the data type of the columns.&lt;/p&gt;
&lt;p&gt;Python source code:  &lt;a href="http://gist.github.com/106532" title="external link to http://gist.github.com/106532" class="http"&gt;http://gist.github.com/106532&lt;/a&gt;&lt;/p&gt;&lt;br/&gt;&lt;small&gt;&lt;a href="http://pradeepgowda.com/blog/2009/05/04" title="link to http://pradeepgowda.com/blog/2009/05/04"&gt;@&lt;/a&gt;&lt;/small&gt;</description>
       <pubDate>Mon, 04 May 2009 16:28:40 GMT</pubDate>
       <author>Pradeep Gowda</author>
       <source url="http://pradeepgowda.com">pradeepgowda.com</source>
       <category>python</category>
       <guid isPermalink="false">http://pradeepgowda.com/blog/2009/05/04</guid>
    </item>
    
    <item>
       <title>Attractive Charts with Open Flash Charts and Django</title>
       <link>http://pradeepgowda.com/blog/2009/04/15</link>
       <description>&lt;p&gt;On request from a user, I've put together a sample django app that uses &lt;a href="http://btbytes.github.com/pyofc2" title="external link to http://btbytes.github.com/pyofc2" class="http"&gt;PyOFC2&lt;/a&gt; to render charts in web browsers using &lt;a href="http://teethgrinder.co.uk/open-flash-chart-2/downloads.php" title="external link to http://teethgrinder.co.uk/open-flash-chart-2/downloads.php" class="http"&gt;Open Flash Charts 2&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;The django+pyofc2 demo code can be downloaded from &lt;a href="http://github.com/btbytes/djofc2_demo/tree/master" title="external link to http://github.com/btbytes/djofc2_demo/tree/master" class="http"&gt;github&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Using PyOFC2 with Django&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Download &lt;a href="http://teethgrinder.co.uk/open-flash-chart-2/downloads.php" title="external link to http://teethgrinder.co.uk/open-flash-chart-2/downloads.php" class="http"&gt;Open Flash Chart 2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Download and install &lt;a href="http://github.com/btbytes/pyofc2/tree/master" title="external link to http://github.com/btbytes/pyofc2/tree/master" class="http"&gt;PyOFC2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Download &lt;a href="http://code.google.com/p/swfobject/" title="external link to http://code.google.com/p/swfobject/" class="http"&gt;SWFObject&lt;/a&gt; and put the files in your static media directory&lt;/li&gt;
&lt;li&gt;Add references to the SWFObject files and &lt;code&gt;open-flash-chart.swf&lt;/code&gt; file in the header section. See &lt;code&gt;templates/index.html&lt;/code&gt; for details  &lt;/li&gt;
&lt;li&gt;Create a view to serve the json data from. See &lt;code&gt;demoapp/views.py&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Configure &lt;code&gt;urls.py&lt;/code&gt; to map the view to the url endpoint.&lt;/li&gt;
&lt;/ol&gt;
&lt;br/&gt;&lt;small&gt;&lt;a href="http://pradeepgowda.com/blog/2009/04/15" title="link to http://pradeepgowda.com/blog/2009/04/15"&gt;@&lt;/a&gt;&lt;/small&gt;</description>
       <pubDate>Thu, 16 Apr 2009 01:52:56 GMT</pubDate>
       <author>Pradeep Gowda</author>
       <source url="http://pradeepgowda.com">pradeepgowda.com</source>
       <category>python</category>
       <guid isPermalink="false">http://pradeepgowda.com/blog/2009/04/15</guid>
    </item>
    
    <item>
       <title>Announcing PyOFC2</title>
       <link>http://pradeepgowda.com/blog/2009/01/24</link>
       <description>&lt;p&gt;I've written a python library to generate data files used by the excellent &lt;a href="http://teethgrinder.co.uk/open-flash-chart-2/" title="external link to http://teethgrinder.co.uk/open-flash-chart-2/" class="http"&gt;Open Flash Chart 2&lt;/a&gt;.The project page: &lt;a href="http://btbytes.github.com/pyofc2/" title="external link to http://btbytes.github.com/pyofc2/" class="http"&gt;http://btbytes.github.com/pyofc2/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.flickr.com/photos/btbytes/3246131642/" title="external link to http://www.flickr.com/photos/btbytes/3246131642/" class="http"&gt;&lt;img src="http://pradeepgowda.comhttp://farm4.static.flickr.com/3459/3246131642_3eaac40d7d_m.jpg" width="240" height="143" align="bottom" alt="Python Open Flash Chart 2 " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;There are a couple of advantages PyOFC2 has over the one distributed with OFC2.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Complete. I've implemented python wrapper classes for all chart types and elements.&lt;/li&gt;
&lt;li&gt;Pythonic. The original PHP library uses setters and getters for properties etc.,&lt;/li&gt;
&lt;li&gt;Demo charts. Each chart type has a &lt;code&gt;test_foo&lt;/code&gt; function which shows the usage. &lt;/li&gt;
&lt;li&gt;Test coverage. &lt;/li&gt;
&lt;li&gt;No dependency on any python framework. The default distribution uses Cherrypy.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Notes        &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;This is also the first time I used python meta classes.&lt;/li&gt;
&lt;li&gt;The test cases are also used to generate the demo files you see on the website.&lt;/li&gt;
&lt;li&gt;I've been using this code in a django based app for over a month.&lt;/li&gt;
&lt;/ul&gt;
&lt;br/&gt;&lt;small&gt;&lt;a href="http://pradeepgowda.com/blog/2009/01/24" title="link to http://pradeepgowda.com/blog/2009/01/24"&gt;@&lt;/a&gt;&lt;/small&gt;</description>
       <pubDate>Sun, 25 Jan 2009 03:04:26 GMT</pubDate>
       <author>Pradeep Gowda</author>
       <source url="http://pradeepgowda.com">pradeepgowda.com</source>
       <category>python</category>
       <guid isPermalink="false">http://pradeepgowda.com/blog/2009/01/24</guid>
    </item>
    
    <item>
       <title>Announcing webgen.py</title>
       <link>http://pradeepgowda.com/blog/2008/11/05</link>
       <description>&lt;p&gt;&lt;a href="http://pradeepgowda.com/webgen.py/" title="external link to http://pradeepgowda.com/webgen.py/" class="http"&gt;webgen.py&lt;/a&gt; is a simple static website generator written in Python.&lt;/p&gt;
&lt;p&gt;The source code is available on github – &lt;a href="http://github.com/btbytes/webgen.py" title="external link to http://github.com/btbytes/webgen.py" class="http"&gt;&lt;/a&gt;&lt;a href="http://github.com/btbytes/webgen.py" title="external link to http://github.com/btbytes/webgen.py" class="http"&gt;http://github.com/btbytes/webgen.py&lt;/a&gt;&lt;/p&gt;&lt;br/&gt;&lt;small&gt;&lt;a href="http://pradeepgowda.com/blog/2008/11/05" title="link to http://pradeepgowda.com/blog/2008/11/05"&gt;@&lt;/a&gt;&lt;/small&gt;</description>
       <pubDate>Wed, 05 Nov 2008 13:38:41 GMT</pubDate>
       <author>Pradeep Gowda</author>
       <source url="http://pradeepgowda.com">pradeepgowda.com</source>
       <category>python</category>
       <guid isPermalink="false">http://pradeepgowda.com/blog/2008/11/05</guid>
    </item>
    
    <item>
       <title>Jython</title>
       <link>http://pradeepgowda.com/Jython</link>
       <description>&lt;p&gt;&lt;a href="http://jython.org" title="external link to http://jython.org" class="http"&gt;Jython&lt;/a&gt; is an implementation of &lt;a href="http://pradeepgowda.com/python" class="wiki" title="python was updated 1 month, 2 days ago"&gt;Python&lt;/a&gt; programming language on Java Virtual Machine.&lt;/p&gt;
&lt;h3&gt;My Articles related to Jython&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://pradeepgowda.com/programming/programming-the-weka-datamining-toolkit-with-jython" class="wiki" title="programming/programming-the-weka-datamining-toolkit-with-jython is defined, but has not been indexed yet."&gt;Exploring &lt;span class="caps"&gt;WEKA&lt;/span&gt; Machine learning toolkit with Jython&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://pradeepgowda.com/programming/weka-j48-classifier-example-using-jython" class="wiki" title="programming/weka-j48-classifier-example-using-jython was updated 6 months, 4 weeks ago"&gt;Exploring &lt;span class="caps"&gt;WEKA&lt;/span&gt;‘s J48 classifier using Jython&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="technorati_tags" align="right"&gt;&lt;small&gt;Technorati Tags: &lt;a href="http://technorati.com/tag/jython" rel="tag"&gt;jython&lt;/a&gt;, &lt;a href="http://technorati.com/tag/programming" rel="tag"&gt;programming&lt;/a&gt;, &lt;a href="http://technorati.com/tag/programming-the-weka-datamining-toolkit-with-jython" rel="tag"&gt;programming-the-weka-datamining-toolkit-with-jython&lt;/a&gt;, &lt;a href="http://technorati.com/tag/python" rel="tag"&gt;python&lt;/a&gt;, &lt;a href="http://technorati.com/tag/weka-j48-classifier-example-using-jython" rel="tag"&gt;weka-j48-classifier-example-using-jython&lt;/a&gt;&lt;/small&gt;&lt;/div&gt;&lt;br/&gt;&lt;small&gt;&lt;a href="http://pradeepgowda.com/Jython" title="link to http://pradeepgowda.com/Jython"&gt;@&lt;/a&gt;&lt;/small&gt;</description>
       <pubDate>Tue, 04 Nov 2008 04:36:07 GMT</pubDate>
       <author>Pradeep Gowda</author>
       <source url="http://pradeepgowda.com">pradeepgowda.com</source>
       <category>python</category>
       <guid isPermalink="false">http://pradeepgowda.com/Jython</guid>
    </item>
    
    </channel>
    </rss>
    