python2-pycountry 18.5.26 ISO databases for languages, countries, currencies, etc.
pycountry provides the ISO databases for the standards:
3166-3 (Deleted Countries)
3166-2 (Subdivisions of countries)
It includes a copy from Debian’s pkg-isocodes and makes the data accessible through a Python API.