On 05/02/2023 20:46, Edward Betts wrote:
* Package name : python-countrynames
Version : 1.14.1
Upstream Author : Friedrich Lindenberg <friedr...@pudo.org>
* URL : https://github.com/occrp/countrynames
* License : MIT
Programming Lang: Python
Description : Map country names to ISO codes
This library helps with the mapping of country names to their respective
two or three letter codes. The idea is to incorporate common names for
countries, and even some limited misspellings, as they occur in source data.
.
There is also support for fuzzy matching, which uses a heuristic based on
Levenshtein distance.
I plan to maintain this package as part of the Python team.
I wonder if this upstream and pycountry would be interested in
cooperating. Keeping multiple databases like these up to date is awkward.
https://github.com/flyingcircusio/pycountry
(pycountry uses Debian's iso-codes package for its data)
regards
Stuart
--
Stuart Prescott http://www.nanonanonano.net/ stu...@nanonanonano.net
Debian Developer http://www.debian.org/ stu...@debian.org
GPG fingerprint 90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7