For those of you who don’t know, SIRUTA is the official classification of the Romanian towns and villages. It is maintained by the National Statistics Institute.
Many of the projects I work on for OSM or Wikipedia are centered around location, which means I was writing similar code many times over. To simplify my life, I made a python library that offers a simple interface to the SIRUTA database. Called SIRUTAlib, you can find its homepage here.
As you can expect, it is open-source, licensed under the 3-clause BSD license. The source code is available on Github.