<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>No One Is Perfect &#187; Python</title>
	<atom:link href="http://watchitlater.com/blog/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://watchitlater.com/blog</link>
	<description>A reluctant foray into the world of blogging.</description>
	<lastBuildDate>Tue, 08 Nov 2011 12:32:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Provision EC2 instance using boto</title>
		<link>http://watchitlater.com/blog/2011/09/provision-ec2-instance-using-boto/</link>
		<comments>http://watchitlater.com/blog/2011/09/provision-ec2-instance-using-boto/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 12:09:23 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[My Code]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[boto]]></category>
		<category><![CDATA[devops]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[fabric]]></category>
		<category><![CDATA[puppet]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://watchitlater.com/blog/?p=343</guid>
		<description><![CDATA[Sam Newman recently published a very interesting blog entry on using fabric to apply puppet scripts on remote machines. He left the provision_using_boto() method as an exercise to the reader. That just sounded tempting enough to be a challenge since I hadn&#8217;t gotten around to looking at boto. You can find the result of my [...]]]></description>
			<content:encoded><![CDATA[<p>Sam Newman recently published a very interesting <a href="http://www.magpiebrain.com/2011/08/21/using-fabric-to-apply-puppet-scripts/">blog entry</a> on using <a href="http://docs.fabfile.org/en/1.2.2/index.html">fabric</a> to apply <a href="https://github.com/puppetlabs/puppet">puppet</a> scripts on remote machines. He left the <code>provision_using_boto()</code> method as an exercise to the reader. That just sounded tempting enough to be a challenge since I hadn&#8217;t gotten around to looking at <a href="http://boto.cloudhackers.com/">boto</a>. You can find the result of my attempt on <a href="https://github.com/tomcz/aws_py/tree/master/ec2">GitHub</a>. To be precise <a href="https://github.com/tomcz/aws_py/blob/master/ec2/aws.py">aws.py</a> implements the provisioning using boto and <a href="https://github.com/tomcz/aws_py/blob/master/ec2/fabfile.py">fabfile.py</a> drives fabric and puppet. Hope you find it as useful as I have.</p>
]]></content:encoded>
			<wfw:commentRss>http://watchitlater.com/blog/2011/09/provision-ec2-instance-using-boto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AWS CloudFront invalidation</title>
		<link>http://watchitlater.com/blog/2011/08/aws-cloudfront-invalidation/</link>
		<comments>http://watchitlater.com/blog/2011/08/aws-cloudfront-invalidation/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 11:52:24 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[My Code]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[cloudfront]]></category>
		<category><![CDATA[devops]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://watchitlater.com/blog/?p=321</guid>
		<description><![CDATA[It is now possible to invalidate objects (files) in AWS CloudFront distributions. Handy when someone, like me, occasionally publishes files with the wrong content type. Here is how I implement this invalidation in python.]]></description>
			<content:encoded><![CDATA[<p>It is now possible to invalidate objects (files) in <a href="http://aws.amazon.com/cloudfront/">AWS CloudFront</a> distributions. Handy when someone, like me, occasionally publishes files with the wrong content type. <a href="https://github.com/tomcz/aws_py">Here</a> is how I implement this invalidation in python.</p>
]]></content:encoded>
			<wfw:commentRss>http://watchitlater.com/blog/2011/08/aws-cloudfront-invalidation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PostgreSQL &amp; Python on Mac</title>
		<link>http://watchitlater.com/blog/2010/08/postgresql-python-on-mac/</link>
		<comments>http://watchitlater.com/blog/2010/08/postgresql-python-on-mac/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 13:07:41 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Reminders]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[psycopg2]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://watchitlater.com/blog/?p=224</guid>
		<description><![CDATA[I&#8217;ve been playing with Django &#038; MySQL for a while but for my next project I wanted to integrate it with a PostgreSQL database. Everything went well until I wanted to install Psycopg as my python adapter to PostgreSQL. After a bit of blundering about here&#8217;s what it eventually took: Download and install PostgreSQL one-click [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing with Django &#038; MySQL for a while but for my next project I wanted to integrate it with a PostgreSQL database. Everything went well until I wanted to install <a href="http://initd.org/psycopg/">Psycopg</a> as my python adapter to PostgreSQL.</p>
<p>After a bit of blundering about here&#8217;s what it eventually took:</p>
<ul>
<li>Download and install PostgreSQL one-click installer from <a href="http://www.postgresql.org/download/macosx">http://www.postgresql.org/download/macosx</a>. Remember to read the README file before actually running the installer.</li>
<li>Download the psycopg2 source from <a href="http://initd.org/pub/software/psycopg/">http://initd.org/pub/software/psycopg/</a>.</li>
<li>Edit the setup.cfg file to provide a path to the pg_config executable. On my Mac it sits in <code>/Library/PostgreSQL/8.4/bin/pg_config</code> and is not by default on the PATH so if you don&#8217;t put it on the PATH or in this configuration file the next step will fail in a spectacular manner.</li>
<li>Run &#8216;<code>sudo easy_install .</code>&#8216; in the top level psycopg2 source directory.</li>
<li>Specify <code>postgresql_psycopg2</code> when you configure Django&#8217;s database layer for your project.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://watchitlater.com/blog/2010/08/postgresql-python-on-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

