Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum
Commit message (Collapse)AuthorAgeFilesLines
...
* Validate parts of numbersArthur de Jong2014-10-172-0/+12
| | | | | This raises exceptions when the provice or establishment number part of the number contains invalid values.
* Refactor checksum functionsArthur de Jong2014-10-172-47/+23
| | | | | | Use the CI checks from within the RUC module for natural RUC numbers (thereby eliminating a bug in the RUC checksum calculation) and simplify the checksum functions.
* Use dedicated doctestsArthur de Jong2014-10-172-15/+7
| | | | | | | This moves a number of the existing test cases to dedicated doctest files and extend the tests with more numbers and corner cases. This also fixes a few docstrings.
* Add Ecuadorian CI and RUC numbersJonathan Finlay2014-10-143-0/+215
| | | | | Add modules for Ecuadorian Identification Card (CI - Cédula de identidad) and Fiscal Numbers (RUC - Registro Único de Contribuyentes)
* Add Chinese Resident Identity Card NumberArthur de Jong2014-10-063-0/+3265
|\
| * Support the Resident Identity Card Number of People's ↵Jiangge Zhang2014-10-061-0/+106
| | | | | | | | Republic China
| * Download locations from the China (PRC) government siteJiangge Zhang2014-10-061-0/+3138
| |
| * Add stdnum.cn package for Chinese (PRC) numbersJiangge Zhang2014-10-061-0/+21
| |
* | Update NRIC testsArthur de Jong2014-10-051-2/+2
| |
* | Update URLs for Malaysian code listsArthur de Jong2014-10-051-28/+31
|/ | | | | | | | | | This updates the URLs for the state and country codes as published by the National Registration Department of Malaysia and changes the parsing to the new page layout. This also updates the data file. https://github.com/arthurdejong/python-stdnum/issues/14
* Add US bank routing transit numbersTony Bajan2014-09-021-0/+87
|
* Fix getisbn script and update ISBN data fileArthur de Jong2014-07-051-16/+24
|
* Improve package docstring formatting and show exampleArthur de Jong2014-04-111-71/+84
|
* Add support for ISO6346Sharoon Thomas2014-03-181-0/+84
| | | | | | Add validation and creation of check digit for ISO6346 codes. See: https://github.com/arthurdejong/python-stdnum/pull/9
* Added a simple backwards compability checkJussi Räsänen2014-03-051-1/+4
|
* Add support for 2013 extension of Irish PPS NumbersArthur de Jong2014-02-172-14/+40
| | | | | References: - https://www.welfare.ie/en/Pages/PPSN.aspx - http://www.citizensinformation.ie/en/social_welfare/irish_social_welfare_system/personal_public_service_number.html
* Rename AT-02 module to stdnum.eu.at_02Arthur de Jong2014-02-061-1/+0
|
* Add SEPA Creditor identifier (AT-02)Sergi Almacellas Abellana2014-02-051-0/+77
|
* 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.
* Get files ready for 0.9 release0.9Arthur de Jong2013-12-311-2/+9
|
* Update database filesArthur de Jong2013-12-312-14/+21
|
* Add pragma: no cover for Python 3Arthur de Jong2013-12-313-3/+3
| | | | Some statements are not covered in Python 3 tests.
* Add some new VAT numbers for GBCédric Krier2013-12-301-2/+20
| | | | | | | Add support for restarting from November 2009 using 9755. Add support for EU format of health authorities See: https://github.com/arthurdejong/python-stdnum/pull/4
* Update parsing in getimsi scripteneq1232013-12-301-1685/+1699
| | | | | | This updates the regexes and includes seom optimizations. See: https://github.com/arthurdejong/python-stdnum/issues/1
* Add support for proxyCédric Krier2013-12-301-1/+2
|
* Update getimsi scriptArthur de Jong2013-12-041-1375/+1749
| | | | | | | This updates the script due to the Wikipedia article change and removes the code for getting the data from ITU for now. See: https://github.com/arthurdejong/python-stdnum/issues/1
* Add a Dutch postal code moduleArthur de Jong2013-11-102-2/+80
| | | | | | | | The Dutch postal code (postcode) consists of four digits followed by two characters and together with the house number should uniquely identify any address. Addresses trac ticket #7.
* Add a Dutch Brin number moduleArthur de Jong2013-11-091-0/+80
| | | | | | | The Brin (Basis Registratie Instellingen) is a number to identify schools and related institutions. Addresses trac ticket #6.
* Clarify onderwijsnummer descriptionArthur de Jong2013-11-091-4/+4
|
* Add a United States TIN moduleArthur de Jong2013-11-091-0/+97
| | | | | | The Taxpayer Identification Number is used used for tax purposes in the United States. This module uses the SSN, ITIN, EIN, PTIN and ATIN modules to determine validitiy of the TIN.
* Add a United States PTIN moduleArthur de Jong2013-11-091-0/+68
| | | | | | A Preparer Tax Identification Number (PTIN) is United States identification number for tax return preparers. It is an eight-digit number prefixed with a capital P.
* Add a United States ATIN moduleArthur de Jong2013-11-091-0/+75
| | | | | | An Adoption Taxpayer Identification Number (ATIN) is a temporary nine-digit number issued by the United States IRS for a child for whom the adopting parents cannot obtain a Social Security Number.
* Add a United States EIN moduleArthur de Jong2013-11-092-0/+107
| | | | | | | The Employer Identification Number (EIN), also known as Federal Employer Identification Number (FEIN), is used to identify a business entity in the United States. It is issued to anyone that has to pay withholding taxes on employees.
* Add a United States ITIN moduleArthur de Jong2013-11-091-0/+96
| | | | | | | The ITIN (Individual Taxpayer Identification Number) is issued by the United States IRS to individuals who are required to have a taxpayer identification number but who are not eligible to obtain a Social Security Number.
* Remove unused importArthur de Jong2013-11-091-1/+0
|
* Try to replace Unicode characters with ASCIIArthur de Jong2013-11-081-2/+76
| | | | | | | | | This changes the stdnum.util.clean() method that is used by all modules to replace alternative Unicode dashes, dots, etc. by their ASCII equivalent so the numbers will be automatically converted and validated. Inspiration for this change came from https://github.com/JNRowe/pyisbn/pull/6
* Get files ready for 0.8.1 release0.8.1Arthur de Jong2013-06-141-1/+1
|
* Get files ready for 0.8 release0.8Arthur de Jong2013-06-091-1/+2
|
* Update database filesArthur de Jong2013-06-094-2109/+1756
| | | | | | We manually tweak the Finland IBAN entry. We should probably change the parsing so that it uses the IBAN structure instead of the BBAN structure.
* Fix NRIC module descriptionArthur de Jong2013-06-091-2/+4
|
* Add a Malaysian NRIC No. moduleArthur de Jong2013-06-083-0/+217
| | | | | NRIC No. (National Registration Identity Card Number) is the unique identifier for issued to Malaysian citizens and permanent residents.
* Use validate() in stdnum.utilArthur de Jong2013-06-081-1/+1
|
* Implement validate() for U.S. Social Security NumberArthur de Jong2013-06-081-15/+32
|
* Implement validate() for European VAT numbersArthur de Jong2013-06-081-13/+27
|
* Implement validate() for Slovak numbersArthur de Jong2013-06-082-28/+45
|
* Implement validate() for Slovenian VAT numbersArthur de Jong2013-06-081-10/+22
|
* Implement validate() for Swedish VAT numbersArthur de Jong2013-06-081-10/+21
|
* Implement validate() for Portuguese VAT numbersArthur de Jong2013-06-081-10/+22
|
* Implement validate() for Polish numbersArthur de Jong2013-06-081-10/+22
|
* Implement validate() for Maltese numbersArthur de Jong2013-06-081-10/+22
|