docs | |
---|---|
tests | |
package |
pycountry-convert
is a Python module for TUNE Multiverse Libraries.
Using country data derived from wikipedia, this package provides conversion functions between ISO country names, country-codes, and continent names.
Available functions:
- Convert country code ISO 3166-1 alpha-2 to continent name:
convert_country_alpha2_to_continent()
- Convert country code ISO 3166-1 alpha-2 to country name:
convert_country_alpha2_to_country_name()
- Convert country name to country code ISO 3166-1 alpha-2:
convert_country_name_to_country_alpha2()
Convert country code ISO 3166-1 alpha-3 to country code ISO 3166-1 alpha-2:
convert_country_alpha3_to_country_alpha2()
License: MIT