<?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>Strainu onLine &#187; Python</title>
	<atom:link href="http://www.strainu.ro/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.strainu.ro</link>
	<description>Blogul unui automatist</description>
	<lastBuildDate>Fri, 28 Oct 2011 15:46:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Romanian Postal Codes in OpenStreetMap</title>
		<link>http://www.strainu.ro/web20/romanian-postal-codes-in-openstreetmap/</link>
		<comments>http://www.strainu.ro/web20/romanian-postal-codes-in-openstreetmap/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 15:53:01 +0000</pubDate>
		<dc:creator>Strainu</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Web stuff]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[OpenStreetMap]]></category>
		<category><![CDATA[Postal Codes]]></category>
		<category><![CDATA[Romania map]]></category>

		<guid isPermaLink="false">http://www.strainu.ro/?p=775</guid>
		<description><![CDATA[After a short discussion on the Romanian OSM mailing list, I decided to write a small Python script to import the postal code data from SIRUTA into OSM, cited as demanded by law 542/2008, art. 32. As cities have multiple postal codes, I had to settle for importing data for villages, hamlets and towns. Still, [...]]]></description>
			<content:encoded><![CDATA[<p>After a <a href="http://lists.openstreetmap.org/pipermail/talk-ro/2010-September/001354.html" target="_blank">short discussion</a> on the Romanian OSM mailing list, I decided to write a small Python script to import the postal code data from <a href="http://www.insse.ro/cms/rw/pages/siruta.en.do" target="_blank">SIRUTA</a> into OSM, cited as demanded by law 542/2008, art. 32. As cities have multiple postal codes, I had to settle for importing data for villages, hamlets and towns. Still, over 12.000 new entries were added to OpenStreetMap. I will surely be an important resource for people wanting to use coordinates &#8211; postal codes association freely.</p>
<p>For people wanting to peek at the code, you can find it <a href="http://code.google.com/p/wikiro/source/browse/trunk/robots/python/OSM/osm_siruta_postcodes.py" target="_blank">here</a>. It uses the<a href="http://wiki.openstreetmap.org/wiki/PythonOsmApi" target="_blank"> OsmApi library</a> and a stripped version of the dbf fron INSSE (converted to CSV), containing the following fields: <em>siruta_code, village_name, postcode, postocde_source</em>.</p>
<div class='sociable'><div><span class='sociable-tagline'><strong>Share and Enjoy:</strong></span></div><ul><li><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.strainu.ro%2Fweb20%2Fromanian-postal-codes-in-openstreetmap%2F&amp;t=Romanian%20Postal%20Codes%20in%20OpenStreetMap" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a></li><li><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=Romanian%20Postal%20Codes%20in%20OpenStreetMap%20-%20http%3A%2F%2Fwww.strainu.ro%2Fweb20%2Fromanian-postal-codes-in-openstreetmap%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a></li><li><a rel="nofollow" target="_blank"  href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwww.strainu.ro%2Fweb20%2Fromanian-postal-codes-in-openstreetmap%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/identica.png" class="sociable-img sociable-hovers" title="Identi.ca" alt="Identi.ca" /></a></li><li><a rel="nofollow" target="_blank"  href="mailto:?subject=Romanian%20Postal%20Codes%20in%20OpenStreetMap&amp;body=http%3A%2F%2Fwww.strainu.ro%2Fweb20%2Fromanian-postal-codes-in-openstreetmap%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/email_link.png" class="sociable-img sociable-hovers" title="email" alt="email" /></a></li><li><a rel="nofollow" target="_blank" title="Add to favorites" href="#" onclick="AddToFavorites(); return false;"><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/addtofavorites.png" class="sociable-img sociable-hovers" title="Add to favorites" alt="Add to favorites" /></a></li><li><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.strainu.ro%2Fweb20%2Fromanian-postal-codes-in-openstreetmap%2F&amp;title=Romanian%20Postal%20Codes%20in%20OpenStreetMap&amp;bodytext=After%20a%20short%20discussion%20on%20the%20Romanian%20OSM%20mailing%20list%2C%20I%20decided%20to%20write%20a%20small%20Python%20script%20to%20import%20the%20postal%20code%20data%20from%20SIRUTA%20into%20OSM%2C%20cited%20as%20demanded%20by%20law%20542%2F2008%2C%20art.%2032.%20As%20cities%20have%20multiple%20postal%20codes%2C%20I%20had%20to%20settle" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a></li><li><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.strainu.ro%2Fweb20%2Fromanian-postal-codes-in-openstreetmap%2F&amp;title=Romanian%20Postal%20Codes%20in%20OpenStreetMap" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.strainu.ro/web20/romanian-postal-codes-in-openstreetmap/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Pagerename.py</title>
		<link>http://www.strainu.ro/software/31/</link>
		<comments>http://www.strainu.ro/software/31/#comments</comments>
		<pubDate>Tue, 30 Jan 2007 13:39:15 +0000</pubDate>
		<dc:creator>Strainu</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Wikipedia]]></category>

		<guid isPermaLink="false">http://www.strainu.ro/site/?p=442</guid>
		<description><![CDATA[Pagerename.py is a script for the pywikipedia framework, used to rename a series of pages on Wikipedia and other MediaWiki sites. The script is designed to make the same modification on all the titles it reads from the input file. You can remove parts of the title or add a new text at the beginning [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Pagerename.py</strong> is a script for the <a href="http://pywikipediabot.sourceforge.net/">pywikipedia</a> framework, used to rename a series of pages on Wikipedia and other MediaWiki sites. The script is designed to make the same modification on all the  titles it reads from the input file. You can remove parts of the title or add a new text at the beginning and/or and of the title. You can find it&#8217;s source code below or <a href="http://botwiki.sno.cc/wiki/Python:Pagerename.py">at this site</a>.<br />
<span id="more-442"></span></p>
<p>The software is distributed under <a href="http://creativecommons.org/licenses/GPL/2.0/">CC-GNU GPL license</a>.</p>
<p><a href="http://www.strainu.ro/tracker/downi.php?id=pagerename" target="_blank"><strong>Download</strong></a></p>
<div class='sociable'><div><span class='sociable-tagline'><strong>Share and Enjoy:</strong></span></div><ul><li><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.strainu.ro%2Fsoftware%2F31%2F&amp;t=Pagerename.py" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a></li><li><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=Pagerename.py%20-%20http%3A%2F%2Fwww.strainu.ro%2Fsoftware%2F31%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a></li><li><a rel="nofollow" target="_blank"  href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwww.strainu.ro%2Fsoftware%2F31%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/identica.png" class="sociable-img sociable-hovers" title="Identi.ca" alt="Identi.ca" /></a></li><li><a rel="nofollow" target="_blank"  href="mailto:?subject=Pagerename.py&amp;body=http%3A%2F%2Fwww.strainu.ro%2Fsoftware%2F31%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/email_link.png" class="sociable-img sociable-hovers" title="email" alt="email" /></a></li><li><a rel="nofollow" target="_blank" title="Add to favorites" href="#" onclick="AddToFavorites(); return false;"><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/addtofavorites.png" class="sociable-img sociable-hovers" title="Add to favorites" alt="Add to favorites" /></a></li><li><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.strainu.ro%2Fsoftware%2F31%2F&amp;title=Pagerename.py&amp;bodytext=Pagerename.py%20is%20a%20script%20for%20the%20pywikipedia%20framework%2C%20used%20to%20rename%20a%20series%20of%20pages%20on%20Wikipedia%20and%20other%20MediaWiki%20sites.%20The%20script%20is%20designed%20to%20make%20the%20same%20modification%20on%20all%20the%20%20titles%20it%20reads%20from%20the%20input%20file.%20You%20can%20remove%20par" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a></li><li><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.strainu.ro%2Fsoftware%2F31%2F&amp;title=Pagerename.py" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.strainu.ro/software/31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Computer Systems&#8217; Structure homeworks</title>
		<link>http://www.strainu.ro/software/25/</link>
		<comments>http://www.strainu.ro/software/25/#comments</comments>
		<pubDate>Tue, 30 Jan 2007 12:50:31 +0000</pubDate>
		<dc:creator>Strainu</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Poli]]></category>

		<guid isPermaLink="false">http://www.strainu.ro/site/?p=432</guid>
		<description><![CDATA[Computer Systems&#8217; Structure homeworks from Automatics and Computer Science Faculty, 4th year, prof. Emil Sluşanschi. The archive contains a homework made in C. Themes: threads, semaphores, queues, locks, fat-tree inter-connection structures, file-sharing, network programming in python. The C homework is a simulation using the Blitzen simulator (not included). The software is distributed under CC-GNU GPL [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Computer Systems&#8217; Structure homeworks</strong> from Automatics and Computer Science Faculty, 4th year, prof. Emil Sluşanschi. The archive contains a homework made in C. Themes: threads, semaphores, queues, locks, fat-tree inter-connection structures, file-sharing, network programming in python. The C homework is a simulation using the Blitzen simulator (not included).<br />
<span id="more-432"></span></p>
<p>The software is distributed under <a href="http://creativecommons.org/licenses/GPL/2.0/">CC-GNU GPL license</a>.</p>
<p><a href="http://www.strainu.ro/tracker/downi.php?id=teme_ssc" target="_blank"><strong>Download</strong></a></p>
<div class='sociable'><div><span class='sociable-tagline'><strong>Share and Enjoy:</strong></span></div><ul><li><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.strainu.ro%2Fsoftware%2F25%2F&amp;t=Computer%20Systems%27%20Structure%20homeworks" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a></li><li><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=Computer%20Systems%27%20Structure%20homeworks%20-%20http%3A%2F%2Fwww.strainu.ro%2Fsoftware%2F25%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a></li><li><a rel="nofollow" target="_blank"  href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwww.strainu.ro%2Fsoftware%2F25%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/identica.png" class="sociable-img sociable-hovers" title="Identi.ca" alt="Identi.ca" /></a></li><li><a rel="nofollow" target="_blank"  href="mailto:?subject=Computer%20Systems%27%20Structure%20homeworks&amp;body=http%3A%2F%2Fwww.strainu.ro%2Fsoftware%2F25%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/email_link.png" class="sociable-img sociable-hovers" title="email" alt="email" /></a></li><li><a rel="nofollow" target="_blank" title="Add to favorites" href="#" onclick="AddToFavorites(); return false;"><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/addtofavorites.png" class="sociable-img sociable-hovers" title="Add to favorites" alt="Add to favorites" /></a></li><li><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.strainu.ro%2Fsoftware%2F25%2F&amp;title=Computer%20Systems%27%20Structure%20homeworks&amp;bodytext=Computer%20Systems%27%20Structure%20homeworks%20from%20Automatics%20and%20Computer%20Science%20Faculty%2C%204th%20year%2C%20prof.%20Emil%20Slu%C5%9Fanschi.%20The%20archive%20contains%20a%20homework%20made%20in%20C.%20Themes%3A%20threads%2C%20semaphores%2C%20queues%2C%20locks%2C%20fat-tree%20inter-connection%20structures%2C%20file-sh" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a></li><li><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.strainu.ro%2Fsoftware%2F25%2F&amp;title=Computer%20Systems%27%20Structure%20homeworks" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.strainu.ro/software/25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

