Skip to main content

ISO 3361-1 Country code package for Python

Project description

https://badge.fury.io/py/iso-3166-1.svg https://travis-ci.org/spoqa/iso-3166-1.svg

define codes for the names of countries as a enum it supports python2.7, 3.3 with enum34 of course support python3.4 as well.

>>> from iso3166 import Country
>>> Country.kr
<Country.kr>
>>> Country.kr.alpha2
KR
>>> Country.kr.alpha3
KOR
>>> Country.kr.numeric
410
>>> Country.kr.english_short_name

Written by Kang Hyojun. Distributed under Public Domain.

Project details


Download files

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

Source Distribution

iso-3166-1-0.0.3.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

iso_3166_1-0.0.3-py2.py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page