Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Parse official zip code documents from the Romanian Government

Project Description

RO Zip Data Parser

This project is used to parse zip code files from the official Romanian government website.

You can find the official xls files following this link:


pip install rozipparser


This project can be used standalone to parse and convert the official documents or as a module inside another application.

Important! The official data file is in the old xls format (Microsoft Excel <2007). The file MUST be converted in Office Open XML file format (Microsoft Excel 2007 - xlsx).

Command line

Convert to csv python <inputfile> --csv <output.csv>


from codeparser import CodeParser

parser = CodeParser("<PATH TO XLSX FILE")
codes = parser.get_codes()

Each entry in the returned list is a model.Code instance.

Please see the test files for additional usage information.


CoduriPostaleDataParser is released under the MIT license. See LICENSE for details


Follow me on twitter [@mcostea](

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
rozipparser-0.2.1.tar.gz (3.9 kB) Copy SHA256 Checksum SHA256 Source Sep 19, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting