<p><img src="http://farm3.static.flickr.com/2194/2478350350_d9324b50db.jpg?v=0" alt="My Tarpipe Workflow" /></p>

<p>For those of you who don&#8217;t know <a href="http://tarpipe.com">TarPipe</a>, it is a web application that makes it easier to create your workflows on the web. This workflow above just receives via the <span class="caps">API</span> a title and a photo and uploads it to Photobucket (which sucks, but a Flickr Connector, among others, is being released very soon) and the enters the image link in my flickr account. Right now Tarpipe hasn&#8217;t launched yet, but I have access to developer&#8217;s preview (which <a href="http://dev.tarpipe.com/invite/">you may also ask</a>) and I have played with it&#8217;s <span class="caps">API</span>.</p>

<p>So I picked my language of choice: <a href="http://pythonlovers.com">Python</a> and I made a library to access TarPipe <span class="caps">API</span> from Python. And it&#8217;s as easy as:</p>

<pre class="code">sudo easy_install tarpipe-python
python</pre>

<p>And then</p>

<pre class="code">import tarpipe
t = tarpipe.TarPipe(token="your workflow token")
t.upload(title="hello from python",body="testing TarPipe from Python",image="/Users/youruser/Images/test.png")</pre>

<p>As simple as that. <a href="http://code.google.com/p/tarpipe-python/">The project</a> is hosted at Google Code (you can checkout from the svn if you want). And it&#8217;s licensed under <span class="caps">LGPL</span>, which will deserve a post later on.</p>