Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 1.9 KB

README.rst

File metadata and controls

72 lines (50 loc) · 1.9 KB

Overview

docs License Status
tests Travis-CI Build Status
package PyPI Package latest release Supported versions

pycountry-convert

pycountry-convert is a Python module for TUNE Multiverse Libraries.

Installation

Usage

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

Reporting Issues