Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/it
Commit message (Collapse)AuthorAgeFilesLines
* Minor code improvements (mostly PEP8)Arthur de Jong2017-09-111-1/+1
|
* Make import ordering consistentArthur de Jong2017-09-111-1/+1
|
* Docstring improvementsArthur de Jong2017-09-112-10/+8
|
* Code style improvementsArthur de Jong2015-10-111-3/+3
| | | | | | | Ensure that regular expressions are r'' strings, avoid too long lines and fix line wrapping. Also avoid catching toplevel Exception when possible and use binascii for hex to binary conversion which is available in both Python 2 and 3.
* Small typo and code style fixesArthur de Jong2015-08-161-2/+2
|
* Add an Italian Codice Fiscale moduleArthur de Jong2014-02-021-0/+152
| | | | | | | | | | | | | | | | | | This module validates 16 digit Italian tax codes for individuals. https://en.wikipedia.org/wiki/Italian_fiscal_code_card It is based on the pycodicefiscale module that can be found here: https://github.com/baxeico/pycodicefiscale Functions have been renamed to follow the stdnum naming scheme: isvalid() -> is_valid(), control_code -> calc_check_digit(), get_birthday() -> get_birth_date(), get_sex() -> get_gender(). The build() function for generating tax codes (based on name, birth place and date) has been left out because this number cannot be uniquely constructed with this information alone (numbers are issued by the Italian tax office with a mechanism handle duplicates). Addresses trac ticket #9.
* Implement validate() for Italian numbersArthur de Jong2013-06-081-14/+26
|
* ensure that the module docstrings are in a somewhat more ↵Arthur de Jong2012-02-261-7/+6
| | | | | | usable format git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
* for all countries, provide vat as an alias for the local ↵Arthur de Jong2012-02-191-0/+3
| | | | | | vat identifier git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@153 9dea7c4f-944c-4273-ac1a-574ede026edc
* give all packages a descriptionArthur de Jong2012-02-191-0/+21
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@152 9dea7c4f-944c-4273-ac1a-574ede026edc
* strip a few more separatorsArthur de Jong2012-02-171-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@138 9dea7c4f-944c-4273-ac1a-574ede026edc
* use the luhn module where possibleArthur de Jong2012-02-121-9/+3
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@126 9dea7c4f-944c-4273-ac1a-574ede026edc
* add a Partita IVA (Italian VAT number) moduleArthur de Jong2012-02-122-0/+68
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@124 9dea7c4f-944c-4273-ac1a-574ede026edc