Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add Liechtenstein PersonenidentifikationsnummerMatthias Schmid, M.Sc2020-11-083-0/+183
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/241 Closes https://github.com/arthurdejong/python-stdnum/issues/125
* Expanded validation for BE VAT numbersJonas Geuens2020-11-072-1/+38
| | | | | | Specifically invalidated all-zero numbers Closes https://github.com/arthurdejong/python-stdnum/pull/240
* Retain RO prefix in Romanian VAT numbersArthur de Jong2020-11-013-13/+28
| | | | | | | | This does not strip the RO prefix from Romanian VAT numbers to be able to keep the distinction between a CUI/CIF that is registered for VAT (which commonly has the RO prefix) and those that don't. Closes https://github.com/arthurdejong/python-stdnum/issues/231
* Minor updatesArthur de Jong2020-11-012-2/+3
|
* Add Romanian CUI/CIF numberArthur de Jong2020-11-012-20/+95
| | | | | This module separates the validation of numbers assigned to companies (CUI or CIF) of those assigned to natural persons (CNP).
* Make list of EU member states list of public APIArthur de Jong2020-09-191-4/+4
| | | | | | | | This provides stdnum.eu.vat.MEMBER_STATES. Note that Greece is listed with a country code of "gr" while the prefix used in VAT numbers is "el". Closes https://github.com/arthurdejong/python-stdnum/issues/238
* Upgrade jQuery to 3.5.1Arthur de Jong2020-09-047-9342/+10944
| | | | This also runs eslint over check.js and fixes an issue from the upgrade.
* Get files ready for 1.14 release1.14Arthur de Jong2020-08-0920-1/+523
|
* Update database filesArthur de Jong2020-08-0911-593/+1467
|
* Add module to check any VAT numberLeandro Regueiro2020-08-092-0/+169
| | | | | | | This effectively mimics vatnumber's `check_vat` function, so people can easily replace the outdated vatnumber library with stdnum. Closes https://github.com/arthurdejong/python-stdnum/pull/199
* Fix Python 3.6 issue in update scriptArthur de Jong2020-08-081-2/+2
| | | | Fixes 180788a
* Add GS1-128 formatArthur de Jong2020-08-084-0/+669
| | | | | | | | | | This adds validation, parsing and encoding functions for GS1-128. It is based on the lists of formats as published by the GS1 organisation. Based on the implementation provided by Sergi Almacellas Abellana <sergi@koolpi.com>. Closes https://github.com/arthurdejong/python-stdnum/pull/144
* Add Romanian Trade Register identifierArthur de Jong2020-08-022-0/+373
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/229 Closes https://github.com/arthurdejong/python-stdnum/pull/234
* Add English Unique Tax ReferenceMohammed Salman2020-08-022-0/+118
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/227
* Support foreign residents for Romanian CNPArthur de Jong2020-08-021-7/+13
| | | | | | | | | | This supports 7 or 8 as first digits in the CNP which are apparently used to identify foreign residents. This also changes the exception for an incorrect first digit from InvalidFormat to InvalidComponent which is a little clearer. Closes https://github.com/arthurdejong/python-stdnum/issues/230
* Remove custom CA certificate for www.ftc.go.krArthur de Jong2020-08-022-24/+1
| | | | | This certificate is not needed any more because the site now uses a different certificate that is signed by a known CA.
* Scape new line characterevaldez892020-08-022-1/+5
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/233 Closes https://github.com/arthurdejong/python-stdnum/issues/232
* Add support for Taiwan TIN numberLeandro Regueiro2020-07-053-0/+325
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/214 Closes https://github.com/arthurdejong/python-stdnum/issues/209
* Avoid newer isort for flake8 testsArthur de Jong2020-07-051-0/+3
| | | | | | Do not install the latest isort because it currently breaks flake8-isort. This pinning should be removed as soon as https://github.com/gforcada/flake8-isort/issues/88 is resolved.
* Add support for Indonesian NPWPLeandro Regueiro2020-06-283-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 Regueiro2020-06-283-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 Jong2020-06-283-0/+84
|
* Add support for South Korea Business Registration NumberLeandro Regueiro2020-06-283-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 Ormaza2020-06-281-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