[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1030572: ITP: python-countrynames -- Map country names to ISO codes




On 05/02/2023 20:46, Edward Betts wrote:
* Package name    : python-countrynames
   Version         : 1.14.1
   Upstream Author : Friedrich Lindenberg <friedrich@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/ stuart@nanonanonano.net
Debian Developer  http://www.debian.org/       stuart@debian.org
GPG fingerprint   90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7


Reply to: