Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for Indonesian NPWPHEADmasterLeandro Regueiro7 days3-0/+271
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/106 Closes https://github.com/arthurdejong/python-stdnum/pull/198
* Add support for Vietnam TIN numberLeandro Regueiro7 days3-0/+368
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/217 Closes https://github.com/arthurdejong/python-stdnum/pull/218
* Add an online check for the South Korean BRNArthur de Jong7 days3-0/+84
|
* Add support for South Korea Business Registration NumberLeandro Regueiro7 days3-0/+391
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/197 Closes https://github.com/arthurdejong/python-stdnum/issues/101
* Support 6 as third digit for foreign people in EcuadorChristopher Ormaza7 days1-1/+1
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/228
* Add support for Singapore Unique Entity NumberLeandro Regueiro2020-05-173-0/+497
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/111 Closes https://github.com/arthurdejong/python-stdnum/pull/203
* Add missing vat alias for New ZealandLeandro Regueiro2020-05-161-0/+3
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/202
* Add support for Chinese TIN numberLeandro Regueiro2020-04-273-0/+389
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/207 Closes https://github.com/arthurdejong/python-stdnum/pull/210
* Add support for El Salvador TIN numberLeandro Regueiro2020-04-263-0/+408
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/133 Closes https://github.com/arthurdejong/python-stdnum/pull/215
* Add Israeli TIN numberLeandro Regueiro2020-04-253-0/+347
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/208 Closes https://github.com/arthurdejong/python-stdnum/issues/107
* Document function return behaviourArthur de Jong2020-04-251-0/+13
|
* Flake 8 fixesArthur de Jong2020-04-193-43/+49
|
* Resolve Travis configuration warningsArthur de Jong2020-04-181-2/+3
|
* Avoid newest SphinxArthur de Jong2020-04-181-1/+1
| | | | | | | Newer versions of Sphinx treat underscores differently when used in arguments to automodule causing problems in generating documentation for the stdnum.in_.aadhaar, stdnum.in_.pan, stdnum.is_.kennitala and stdnum.is_.vsk modules.
* Use HTTPS in URLs where possibleArthur de Jong2020-03-2018-21/+20
|
* Use HTTPS instead of HTTP fox VIES lookupsgrzekru2020-03-201-1/+1
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/204 Closes https://github.com/arthurdejong/python-stdnum/pull/205
* Add Italian AIC codesFabrizioMontanari2020-03-142-0/+260
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/193
* Fix typoArthur de Jong2020-03-091-1/+1
| | | | Thanks @unho
* Use zip() for applying weights in check algorithmsArthur de Jong2020-03-082-7/+4
|
* Add Bellarus УНП numberArthur de Jong2020-03-085-0/+360
| | | | | | This also adds a function to do an online lookup of the number. Closes https://github.com/arthurdejong/python-stdnum/issues/196
* Add missing vat alias for JapanLeandro Regueiro2020-03-071-0/+1
|
* Add missing vat alias for CanadaLeandro Regueiro2020-03-071-0/+1
|
* Add missing vat alias for TurkeyLeandro Regueiro2020-03-071-0/+1
|
* Add missing vat alias for PeruLeandro Regueiro2020-03-071-0/+1
|
* Add missing vat alias for Costa RicaLeandro Regueiro2020-03-071-0/+1
|
* Add missing vat alias for BrazilLeandro Regueiro2020-03-071-0/+1
|
* Implement get_birth_date() for no.fodselsnummerLeon Sandøy2020-03-012-52/+101
| | | | | | | | | | | | | | | | | | | | | This adds a function that allows you to determine a persons birth date from a Norwegian fødselsnummer. This also accounts for D-numbers, H-numbers, and FH-numbers, which contain special exceptions and modifications to the birthdate portion of the number. Most of the information this is based on was found here: https://no.wikipedia.org/wiki/F%C3%B8dselsnummer#H-nummer It also updates the list of valid fødselsnummer in the tests, since this list contained many numbers that are not valid by this new validation that now accounts for dates. Additionally, this updates all tests that were failing under the new validation, and adds a few new tests to bring the coverage to 100%. Closes https://github.com/arthurdejong/python-stdnum/pull/187
* Improve birth date validation for dk.cprLeon Sandøy2020-03-011-6/+10
| | | | | | | | This adds a check to validate that the birth date information in a personnummer is not set in the future, resolving a TODO from this file. It also improves exception messages for certain validation fail conditions.
* Fix misleading docstring in se.personnummer get_birth_date()Leon Sandøy2020-03-011-3/+7
| | | | | | | | | | | The docstring for get_birth_date() in the Swedish personnummer.py warned that the datetime might be 100 years off because of the lack of precision in the personnummer. This was accurate when the docstring was written, but this is no longer accurate after the - and + signs were correctly handled. Fixes 5441ffa
* Use bionic for pypy3 tests on TravisArthur de Jong2020-03-011-1/+1
| | | | | | This switches the pypy3 tests to bionic which has Python 3.6.9. There were installation issues with 3.5.3 on trusty and coverage issues with 3.6.1 of xenial (now the default on Travis).
* Support validating temporary Finnish personal identity codesAleksi Hoffman2020-03-012-7/+18
| | | | | | | This adds an optional allow_temporary parameter, which defaults to False, to the validate() function. Closes https://github.com/arthurdejong/python-stdnum/pull/191
* Change DGII endpoint to new oneGustavo Valverde2020-02-181-9/+13
| | | | | | The old endpoint has been deprecated. Closes https://github.com/arthurdejong/python-stdnum/pull/190
* Fix issue with extra plus or minus in se.personnummerArthur de Jong2020-02-122-10/+14
| | | | | Fixes 5441ffa Closes https://github.com/arthurdejong/python-stdnum/issues/188
* Add missing NCF document types for validationGustavo Valverde2020-01-221-1/+3
| | | | | | | | These document types are in the official documentation, but were not being validated: https://dgii.gov.do/cicloContribuyente/facturacion/comprobantesFiscales/Paginas/tiposComprobantes.aspx Closes https://github.com/arthurdejong/python-stdnum/pull/186
* Get files ready for 1.13 release1.13Arthur de Jong2020-01-197-5/+182
|
* Fix online check to be Python 3 compatibleArthur de Jong2020-01-191-2/+7
|
* Update database filesArthur de Jong2020-01-1811-341/+688
|
* Add South African Identity Document numberArthur de Jong2020-01-182-0/+223
| | | | Closes https://github.com/arthurdejong/python-stdnum/issues/126
* Add temporary and internal ISIN country codesArthur de Jong2020-01-122-0/+5
| | | | | | | | This adds a few temporary and internal country codes that are used by various agencies so that they can also be validated. This does not mean that all these numbers are globally valid. Closes https://github.com/arthurdejong/python-stdnum/issues/158
* Add three country codes to ISINanwarbaroudi2020-01-122-27/+32
| | | | | | | | | This adds three missing country codes: 'AN' for 'Netherlands Antilles', 'CS' for 'Serbia and Montenegro' and 'XK' for 'Kosovo'. Closes https://github.com/arthurdejong/python-stdnum/issues/173 Closes https://github.com/arthurdejong/python-stdnum/pull/174 Closes https://github.com/arthurdejong/python-stdnum/pull/176
* Test Argentinian CUIT typeEmmanuel Arias2020-01-112-9/+33
| | | | | | | | The first two digits of the CUIT indicate the type of CUIT (personal, company or international) and can only have certain values. Closes https://github.com/arthurdejong/python-stdnum/issues/179 Closes https://github.com/arthurdejong/python-stdnum/pull/181
* Support new btw-identificatienummerArthur de Jong2020-01-092-9/+26
| | | | | | | | | | | | | | | | | | | | | | The btw-identificatienummer has been introduced on January 1st 2020 in the Netherlands as an alternative to the btw-nummer that contains the BSN personal identifier. The number has the same structure and function but does not contain a BSN and uses a different check digit algorithm. Thanks to Cas Vissers, Jeroen van Heiningen, Jerome Hanke, Nicolas Martinelli, Ronald Portier and Tim Muller for contributing to the fix. More information: * http://kleineondernemer.nl/index.php/nieuw-btw-identificatienummer-vanaf-1-januari-2020-voor-eenmanszaken * https://nl.wikipedia.org/wiki/Btw-nummer_(Nederland) * https://www.belastingdienst.nl/wps/wcm/connect/bldcontenten/belastingdienst/business/vat/new-vat-id/ * https://www.belastingdienst.nl/wps/wcm/connect/bldcontentnl/belastingdienst/zakelijk/btw/administratie_bijhouden/btw_nummers_controleren/uw_btw_nummer Closes https://github.com/arthurdejong/python-stdnum/issues/182 Closes https://github.com/arthurdejong/python-stdnum/pull/183 Closes https://github.com/arthurdejong/python-stdnum/pull/184 Closes https://github.com/arthurdejong/python-stdnum/pull/185
* The Italian IVA is also a Codice FiscaleArthur de Jong2020-01-052-12/+40
| | | | Closes https://github.com/arthurdejong/python-stdnum/issues/180
* Add support for Python 3.8Sergi Almacellas Abellana2019-12-273-2/+5
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/177
* Broaden noqa docstring exclusionArthur de Jong2019-12-271-1/+1
| | | | | | Nowadays flake8 seems to report this as D401 (First line should be in imperative mood) while before it was D402 (First line should not be the function’s signature).
* Switch to using lxml for HTML parsingArthur de Jong2019-12-271-13/+12
| | | | | This avoids an extra dependency on BeautifulSoup and makes the code more consistent.
* Fix typosJakub Wilk2019-11-125-8/+8
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/172
* Add format to iso11649Kurt Keller2019-11-091-0/+13
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/171
* Add Swiss ESR/ISR/QR-referenceKurt Keller2019-11-032-0/+162
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/170
* Get files ready for 1.12 release1.12Arthur de Jong2019-10-2721-5/+657
|