python-pycountry

Edit Package python-pycountry

pycountry provides the ISO databases for the standards 639 (Languages), 3166 (Countries), 3166-2 (Subdivisions of countries),
4217 (Currencies), 15924 (Scripts).
The databases are imported from Debian's pkg-isocodes, packaged into pycountry and made accessible through a Python API.
Translation files for the various strings are included as well.

Refresh
Refresh
Source Files
Filename Size Changed
pycountry-23.12.11.tar.gz 0005927399 5.65 MB
python-pycountry.changes 0000004317 4.22 KB
python-pycountry.spec 0000002105 2.06 KB
Revision 11 (latest revision is 12)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1135777 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 11)
- update to 23.12.11:
  * Added fallback to name when common_name or official_name
    country attributes are missing
  * Added support for adding and removing country records, as well
    as casting to dict
  * Improve performance speed by checking for non-ascii chars
    before removing accents
  * Added search_fuzzy method to subdivisions
  * Added type hinting, created py.typed file, and added mypy
    checks to CI
  * Dropped support for end-of-life Python 3.6 and 3.7.
  * Added support for Python 3.11 and Python 3.12.
  * Added dependency on importlib-resources for Python 3.8.
  * Dropped implicit dependency on setuptools for pkg_resources.
  * Update to iso-codes 4.15.0. (Thanks to alanorth!)
  * Removes iso3166.mo files and opts for newer iso3166-1.mo and
    iso3166-3.mo files for Country and Historic Country Translations
    respectively.

  encoding when opening description files in setup.py
Comments 0
openSUSE Build Service is sponsored by