Skip to main content

Mapping for ISO-3166-1 alpha-2 codes to country names and nationalities

Project description

py-i18n-countries

Country names and nationalities for ISO-3166-1 alpha-2 codes: Wiki

Install

pip install py-i18n-countries

Use

from py_i18n_countries import get_country, get_nationality

print(get_nationality(code="us"))
# American

print(get_country(code="us"))
# United States of America

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

py_i18n_countries-0.1.1-py2.py3-none-any.whl (6.8 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