Skip to main content

All ISO 3166 country codes for EU countries.

Project description

pyeucountrycodes

A list of EU country codes following the ISO 3166-1 / Alpha-2 code.

usage

pip install pyeucountrycodes

>>> from eu_country_codes import COUNTRY_CODES

scope

It is intended to keep this package very simple.

If you need to access the names of the countries, maybe even in different languages, please refer to the excellent pycountry:

https://pypi.org/project/pycountry/

contribution, feature requests and bug reports

Please use https://github.com/jugmac00/pyeucountrycodes

development and run tests

$ python3 -m venv .venv
$ . .venv/bin/activate

$ pip install -U pip
$ pip install flit

$ git clone git@github.com:jugmac00/pyeucountrycodes.git
$ cd pyeucountrycodes/
$ flit install

$ pytest .

release history

0.7.0 (15.01.2019)

Initial release.

sources

List of countries:

https://en.wikipedia.org/wiki/Member_state_of_the_European_Union (visited on 15.01.2019)

Iso codes:

https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes (visited on 15.01.2019)

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

pyeucountrycodes-0.7.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

pyeucountrycodes-0.7.0-py2.py3-none-any.whl (3.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