pycountries
Python conversion functions between ISO country codes, countries, and continents.
Thursday, 2016 November 17, 2016 06:30:00 UTC
Version: 0.1.3
Using country data derived from wikipedia, this package provides conversion
functions between ISO country names, country-codes, and continent names.
- Convert country code ISO 3166-1 alpha-2 to continent name:
convert_country_2_code_to_continent()
- Convert country code ISO 3166-1 alpha-2 to country name:
convert_country_2_code_to_country_name()
- Convert country name to country code ISO 3166-1 alpha-2:
convert_country_name_to_country_2_code()
- Convert country code ISO 3166-1 alpha-3
to country code ISO 3166-1 alpha-2:
convert_country_3_code_to_country_2_code()