countrycodes is a simple Python library to easily get ISO 3166 country codes. It can also query the Open Country Codes site for updates.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
countriesbase.py
countrycodes.py

README

countrycodes is a simple Python library to get ISO 3166 country codes. It can also query the Open Country Codes site (http://opencountrycodes.appspot.com) to check for updates since its included data. countrycodes is copyright Peter Robinett, 2009 and is released under the MIT license.