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
Release history Release notifications | RSS feed
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
Close
Hashes for py_i18n_countries-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30837b0ffce0e2fb827b5d63c66979ad9851d7d678a1921e8f52b5ca50edaf6c |
|
MD5 | 967a410e7c4f89c8610d01ba11e10254 |
|
BLAKE2b-256 | 9a25f4014b9084792e8ebb6119c9790d9d26ef4c1a0d0cab0a79f0c9e6fa8e6a |