Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update EU VAT Vies test with new numberHEADmasterArthur de Jong3 days1-6/+8
| | | | The number used before was apparently no longer valid.
* Fix German OffeneRegister company registry URLArthur de Jong3 days1-2/+2
|
* Update database filesArthur de Jong3 days13-768/+2143
|
* Do not print trailing spaceArthur de Jong3 days1-1/+1
|
* Ignore invalid downloaded country codesArthur de Jong3 days1-8/+9
| | | | | | The page currently lists a country without a country code (is listed as "-"). This also ensures that lists of country codes are handled consistently.
* Update names of Wikipedia pages with IMSI codesArthur de Jong3 days1-7/+7
|
* Provide a timeout to all download scriptsArthur de Jong3 days15-17/+17
|
* Update ISIL download URLArthur de Jong3 days2-2/+2
|
* Remove redundant steps with tox_jobChristian Clauss3 days1-17/+9
| | | | | | | This also switches the other Tox jobs to use the latest Python 3.x interpreter. Closes https://github.com/arthurdejong/python-stdnum/pull/305
* Add extra court alias for german HandelsregisternummerRomuald R3 days2-0/+2
| | | | | | | | | Charlottenburg (Berlin) is a valid court representation for Berlin (Charlottenburg). See https://www.northdata.com/VRB+Service+GmbH,+Berlin/Amtsgericht+Charlottenburg+%28Berlin%29+HRB+103587+B Closes https://github.com/arthurdejong/python-stdnum/pull/298
* Use str.zfill() for padding leading zerosArthur de Jong3 days7-14/+7
|
* Add Czech bank account numberspetr.prikryl4 days4-0/+315
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/295 Closes https://github.com/arthurdejong/python-stdnum/pull/296
* Fix small typovovavili5 days1-1/+1
| | | | | | Improper inflection of plurals. Closes https://github.com/arthurdejong/python-stdnum/pull/299
* Put long line flake8 ignores in files instead of globallyArthur de Jong5 days13-13/+12
| | | | | | | | We have some long URLs in the code (mostly in docstrings) and wrapping them does not improve readability (and is difficult in docstrings) so the E501 ignore is now put inside each file instead of globally. Closes https://github.com/arthurdejong/python-stdnum/pull/302
* Add support for Python 3.10Arthur de Jong5 days3-2/+3
|
* Upgrade GitHub ActionsChristian Clauss5 days1-10/+10
| | | | | Update checkout to v3 (no relevant changes) and setup-python to v4 (changes the names for pypy versions).
* Fix flake8 errorArthur de Jong6 days2-3/+2
| | | | | This stops using not as a function and hopefully also makes the logic clearer.
* Upgrade to CodeQL Action v2Arthur de Jong2022-07-041-3/+3
| | | | https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
* Switch from nose to pytestArthur de Jong2022-07-042-15/+12
| | | | | | | Nose hasn't seen a release since 2015 and sadly doesn't work with Python 3.10. See https://github.com/nose-devs/nose/issues/1099
* Ignore flake8 complaining about print statementsArthur de Jong2022-05-091-1/+1
| | | | It seems that flake8 now uses T201 instead of T001 for this check.
* Support parsing dates without a day in GS1-128Alexis de Lattre2022-04-092-0/+12
| | | | | | | Date such as '(17)260400' is now properly interpreted as April 30th 2026. Closes https://github.com/arthurdejong/python-stdnum/pull/294
* Compute birth date from Belgian National NumberCédric Krier2022-03-212-4/+61
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/288
* Return check digits in 02-98 range for ISO 7064 Mod 97, 10Arthur de Jong2022-03-212-3/+14
| | | | | | | | | | There are some valid ranges for check digits within ISO 7064 Mod 97, 10 that all result in a valid checksum. This changes the calculated check digits to be in the range from 02 to 98 as is specified for use in IBAN. See https://en.wikipedia.org/wiki/International_Bank_Account_Number#Generating_IBAN_check_digits Closes https://github.com/arthurdejong/python-stdnum/pull/289
* Support special validation of La Post SIRETCédric Krier2022-03-212-2/+28
| | | | | | | See https://fr.wikipedia.org/wiki/Système_d'identification_du_répertoire_des_établissements#Exceptions_pour_le_groupe_La_Poste Closes https://github.com/arthurdejong/python-stdnum/pull/293 Closes https://github.com/arthurdejong/python-stdnum/issues/291
* Fix Python 2.7 compatibility of the testsArthur de Jong2022-02-142-20/+39
| | | | Fixes a9039c1
* Support running tests with Python 2.7Arthur de Jong2022-02-141-0/+2
| | | | | | When using recent versions of virtualenv this ensures that older versions of pip and setuptools will be used inside the virtualenvs that are created by tox.
* Add Classification of Financial InstrumentsArthur de Jong2022-02-134-0/+1897
| | | | | | | This implements parsing of ISO 10962 CFI codes based on the published description of the structure of these numbers. Closes https://github.com/arthurdejong/python-stdnum/issues/283
* Fix problem in numdb with missing sub-propertiesArthur de Jong2022-02-132-6/+9
| | | | | If a numdb data file line contains multiple values or ranges the sub-ranges were only applied to the last value in the range.
* Also ensure that embedded certificates are shippedArthur de Jong2022-02-131-1/+1
|
* Fix disabling check digit validation of Mexican CURPArthur de Jong2022-01-091-3/+3
| | | | | | | | | The validation functions supported an optional parameter to disable check digit validation in the number that didn't actually affect validation and was most likely accidentally copied from the RFC module. Fixes 50874a9 Closes https://github.com/arthurdejong/python-stdnum/issues/285
* Add Belgian National NumberCédric Krier2022-01-022-0/+94
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/284
* Get files ready for 1.17 release1.17Arthur de Jong2021-10-0313-2/+343
|
* Remove South Korean BRN online checkArthur de Jong2021-10-032-60/+0
| | | | | The Korea Fair Trade Commission website now requires solving a CAPTCHA before submitting the request so this is no longer possible.
* Add documentation for Norwegian OrganisasjonsnummerArthur de Jong2021-10-031-0/+5
|
* Update Cedula online test valueArthur de Jong2021-10-031-2/+2
| | | | | Apparently the previously whitelisted value is no longer recognised as a valid value by the DGII service.
* Update Let's Encrypt R3 intermediate certificateArthur de Jong2021-10-031-82/+64
| | | | | The portal.nalog.gov.by web site serves an incomplete certificate chain and the certificate chain was changed.
* Rename README to README.mdArthur de Jong2021-10-035-5/+6
| | | | | | Mostly to please GitHub. See https://github.com/arthurdejong/python-stdnum/issues/280
* Update database filesArthur de Jong2021-10-0312-819/+2165
|
* Add Indian GSTIN (VAT number)Gaurav Chauhan2021-10-022-0/+164
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/279
* Add Indian EPIC number (Voter ID number)Gaurav Chauhan2021-10-021-0/+89
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/279
* Improve validation and docstrings of Indian numbersGaurav Chauhan2021-10-022-37/+63
| | | | | | | | | This ensures that an Aadhaar cannot be a palindrome and checks the serial part of the PAN to not be all zeros. It also updates some descriptions of PAN holder types and renames the card_holder_type to just holder_type. Closes https://github.com/arthurdejong/python-stdnum/pull/279
* Fix detection of natural RUC valuesArthur de Jong2021-09-192-15/+39
| | | | | | | A natural RUC is the CI plus an establishment number. Both the natural RUC and the public RUC can have a third digit with the value 6. Closes https://github.com/arthurdejong/python-stdnum/issues/267
* Add swedish postcode validatormichele2021-09-123-0/+153
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/271
* Add support for Thai NumbersPiruin Panichphol2021-09-057-0/+572
| | | | | | | | | - TIN Taxpayer Identification Number - PIN Personal Identification Number - MOA Memorandum of Association Number Closes https://github.com/arthurdejong/python-stdnum/issues/118 Closes https://github.com/arthurdejong/python-stdnum/pull/255
* Add ISRC (International Standard Recording Code)Nuno André2021-08-102-0/+151
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/261
* Fix typos found by codespellDimitri Papadopoulos2021-08-1012-15/+15
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/269
* Explicilty define exported exceptionsDimitri Papadopoulos2021-08-101-0/+4
| | | | | | LGTM alert: Import pollutes the enclosing namespace See: https://lgtm.com/rules/3980091/ Closes https://github.com/arthurdejong/python-stdnum/pull/270
* Simplify range checking in Norwegian birth numbersDimitri Papadopoulos2021-08-101-2/+2
| | | | | | LGTM alert: Test is always true See: https://lgtm.com/rules/900073/ Closes https://github.com/arthurdejong/python-stdnum/pull/270
* Fix handling of empty worksheet in Belgian bank downloadDimitri Papadopoulos2021-08-101-2/+5
| | | | | | LGTM alert: Call to next() in a generator See: https://lgtm.com/rules/11000086/ Closes https://github.com/arthurdejong/python-stdnum/pull/270
* Add CC (Número de Cartão de Cidadão, Portuguese ↵David Vaz2021-07-252-0/+130
| | | | | | Identity number) Closes https://github.com/arthurdejong/python-stdnum/pull/265