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

If you're not sure about the file name format, learn more about wheel file names.

py_i18n_countries-0.1.1-py2.py3-none-any.whl (6.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file py_i18n_countries-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: py_i18n_countries-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.0

File hashes

Hashes for py_i18n_countries-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 30837b0ffce0e2fb827b5d63c66979ad9851d7d678a1921e8f52b5ca50edaf6c
MD5 967a410e7c4f89c8610d01ba11e10254
BLAKE2b-256 9a25f4014b9084792e8ebb6119c9790d9d26ef4c1a0d0cab0a79f0c9e6fa8e6a

See more details on using hashes here.

Supported by

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