Package: wnpp
Severity: wishlist
Owner: "Elena ``of Valhalla''" <valhall...@trueelena.org>

* Package name    : python-codicefiscale
  Version         : 0.9
  Upstream Author : Emanuele Rocca
* URL             : https://github.com/ema/pycodicefiscale
* License         : LGPL-2.1+
  Programming Lang: Python
  Description     : Generate and validate Italian "codice fiscale"

 This Python library works with Italian fiscal codes for natural persons
 (the local equivalent to SSN in the USA) and allows one to:
  * generate a realistic code from given data;
  * calculate the control code;
  * extract data from an existing code: birthday and sex.

AFAIK in Debian there is another package, python-stdnum, which supports
the italian codice fiscale, but it can only validate the check digit and
extract the birth date and gender.

pycodicefiscale is also able to generate a code from its component parts
(name, surname, birth date and place and gender); as long as the user
adds a data source for the place codes (which can be had under a free
license - CC-BY 3.0 - from an official source)

There can be a bit of controversy on whether this is a good thing, since
the actual official code can be different from the calculated one (in
case of homonymy and errors), but is sometimes useful to check for
typing errors and this calculation is done on most italian websites /
tools that collect such data.

I plan to maintain this inside the python-modules-team

Reply via email to