pycountry provides the ISO databases for the standards:
-- 639:    Languages
-- 3166:   Countries
-- 3166-2: Subdivisions of countries
-- 4217:   Currencies
-- 15924:  Scripts

The package includes a copy from Debian's pkg-isocodes and makes
the data accessible through a Python API.  Translation files for
the various strings are included as well.

WWW: https://pypi.org/project/pycountry/