Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Get files ready for 1.20 releaseHEAD1.20masterArthur de Jong2024-03-179-4/+150
|
* Update database filesArthur de Jong2024-03-1713-617/+4606
| | | | | | | | | | | | | | The Belgian bpost bank no longer has a registration and a few bank account numbers in the tests that used that bank were removed. Also updates the update/gs1_ai.py script to handle the new format of the data published by GS1. Also update the GS1-128 module to handle some different date formats. The Pakistan entry was kept in the stdnum/iban.dat file because the PDF version of the IBAN Registry still contains the country. fix db
* Add update-dat tox target for convenient data file updatingArthur de Jong2024-03-171-0/+18
|
* Switch to using openpyxl for parsing XLSX filesArthur de Jong2024-03-174-20/+19
| | | | | | The xlrd has dropped support for parsing XLSX files. We still use xlrd for update/be_banks.py because they use the classic XLS format and openpyxl does not support that format.
* Use HTTPS in URLs where possibleArthur de Jong2024-03-171-1/+1
|
* Add Indian virtual identity numberAtul Deolekar2024-03-171-0/+109
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/428
* Fix Ukrainian EDRPOU check digit calculationArthur de Jong2024-03-172-1/+8
| | | | | | | This fixes the case where the weighted sum woud be 10 which should result in a check digit of 0. Closes https://github.com/arthurdejong/python-stdnum/issues/429
* Imporve French NIF validation (checksum)Kevin Dagostino2024-02-251-4/+15
| | | | | | | The last 3 digits are a checksum. % 511 https://ec.europa.eu/taxation_customs/tin/specs/FS-TIN%20Algorithms-Public.docx Closes https://github.com/arthurdejong/python-stdnum/pull/426
* Fix vatin number compacting for "EU" VAT numbersArthur de Jong2024-02-032-3/+14
| | | | | | Thanks Davide Walder for finding this. Closes https://github.com/arthurdejong/python-stdnum/issues/427
* Add European Community (EC) NumberDaniel Weber2023-12-032-0/+280
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/422
* Add British Columbia PHNÖmer Boratav2023-11-261-0/+103
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/421
* Ensure EU VAT numbers don't accept duplicate country codesArthur de Jong2023-11-122-3/+41
|
* Fix typo (thanks Александр Кизеев)Arthur de Jong2023-11-121-1/+1
|
* Add support for Python 3.12Arthur de Jong2023-11-123-2/+3
|
* Get files ready for 1.19 release1.19Arthur de Jong2023-08-2011-6/+429
|
* Ensure all files are included in source archiveArthur de Jong2023-08-201-1/+2
| | | | | Fixes b1dc313 Fixes 90044e2
* Remove obsolete intermediate certificateArthur de Jong2023-08-202-76/+1
| | | | | The portal.nalog.gov.by web no longer has an incomplete certificate chain.
* Use importlib.resource in place of deprecated pkg_resourcesArthur de Jong2023-08-201-4/+12
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/412 Closes https://github.com/arthurdejong/python-stdnum/pull/413
* Avoid the deprecated assertRegexpMatches functionArthur de Jong2023-08-201-4/+10
|
* Rename license_file option in setup.cfgArthur de Jong2023-08-201-1/+1
| | | | | | | It seems the old option wasn't working with all versions of setuptools anyway. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html
* Update Belarusian UNP online checkArthur de Jong2023-08-202-15/+15
| | | | | | The API for the online check for Belarusian UNP numbers at https://www.portal.nalog.gov.by/grp/getData has changed some small details of the API.
* Replace test number for German company registryArthur de Jong2023-08-201-1/+1
| | | | The number seems to be no longer valid breaking the online tests.
* Update database filesArthur de Jong2023-08-2012-3646/+1868
| | | | | | | | This also modifies the OUI update script because the website has changed to HTTPS and is sometimes very slow. The Belgian Commerzbank no longer has a registration and a bank account number in the tests used that bank.
* Remove EU NACE update scriptArthur de Jong2023-08-201-66/+0
| | | | | | | | | | | | | | | | | | The website that publishes the NACE catalogue has changed and a complete re-write of the script would be necessary. The data file hasn't changed since 2017 so is also unlikely to change until it is going to be replaced by NACE rev. 2.1 in 2025. See https://ec.europa.eu/eurostat/web/nace The NACE rev 2 specification can now be found here: https://showvoc.op.europa.eu/#/datasets/ESTAT_Statistical_Classification_of_Economic_Activities_in_the_European_Community_Rev._2/data The NACE rev 2.1 specification can now be found here: https://showvoc.op.europa.eu/#/datasets/ESTAT_Statistical_Classification_of_Economic_Activities_in_the_European_Community_Rev._2.1._%28NACE_2.1%29/data In both cases a ZIP file with RDF metadata can be downloaded (but the web applciation also exposes some simpler JSON APIs).
* Validate European VAT numbers with EU or IM prefixArthur de Jong2023-08-134-0/+193
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/417
* Add Slovenian Corporate Registration NumberBlaž Bregar2023-08-063-1/+217
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/414
* Extend license check to file header checkArthur de Jong2023-08-063-13/+29
| | | | | This also checks that the file name referenced in the file header is correct.
* Fix file headersArthur de Jong2023-08-0623-23/+23
| | | | | This improves consistency across files and fixes some files that had an incorrect file name reference.
* Validate first digit of Canadian SINArthur de Jong2023-07-301-0/+6
| | | | | See http://www.straightlineinternational.com/docs/vaildating_canadian_sin.pdf See https://lists.arthurdejong.org/python-stdnum-users/2023/msg00000.html
* Add Belgian BIS NumberJeff Horemans2023-06-254-3/+275
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/418
* Run Python 2.7 tests in a container for GitHub ActionsArthur de Jong2023-06-201-2/+16
| | | | See https://github.com/actions/setup-python/issues/672
* Handle (partially) unknown birthdate of Belgian National ↵Jeff Horemans2023-06-192-15/+125
| | | | | | | | | | Number This adds documentation for the special cases regarding birth dates embedded in the number, allows for date parts to be unknown and adds functions for getting the year and month. Closes https://github.com/arthurdejong/python-stdnum/pull/416
* Minor ISSN and ISBN documentation fixesChales Horn2023-06-172-7/+7
| | | | | | | Fix a comment that claimed incorrect ISSN length and use slightly more consistent terminology around check digits in ISSN and ISBN. Closes https://github.com/arthurdejong/python-stdnum/pull/415
* Add automated checking for correct license headerArthur de Jong2023-06-173-2/+80
|
* Add support for Guinea TINLeandro Regueiro2023-05-123-0/+267
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/384 Closes https://github.com/arthurdejong/python-stdnum/pull/386
* Add Spanish postcode validatorVictor2023-04-291-0/+84
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/401
* Add support for Finland HETU new century indicating signsmjturt2023-04-292-3/+11
| | | | | | More information at https://dvv.fi/en/reform-of-personal-identity-code Cloess https://github.com/arthurdejong/python-stdnum/pull/396
* Add functionality to get gender from Belgian National NumberJeff Horemans2023-04-292-5/+29
| | | | | | This also extends the documentation for the number. Closes https://github.com/arthurdejong/python-stdnum/pull/347/files
* Add get_county() function to Romanian CNPRaduBorzea2023-04-021-1/+71
| | | | | | This also validates the county part of the number. Closes https://github.com/arthurdejong/python-stdnum/pull/407
* Ensure flake8 is run on all Python filesArthur de Jong2023-03-193-107/+11
| | | | This also fixes code style fixes in the Sphinx configuration file.
* Add support for Python 3.11Arthur de Jong2023-03-183-2/+3
|
* Fix date formatting on PyPy 2.7Arthur de Jong2023-03-181-2/+2
| | | | | | | The original way of calling strftime was likely an artifact of Python 2.6 support. Fixes 7e84c05
* Extend date parsing in GS1-128Arthur de Jong2023-03-184-34/+59
| | | | | Some new AIs have new date formats or have changed the way optional components of formats are defined.
* Update IBAN database fileDimitri Papadopoulos2023-03-181-0/+1
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/409
* Fix Albanian tax number validationArthur de Jong2023-03-182-86/+55
| | | | | | | | | | | | | | | This extends the description of the Albanian NIPT (NUIS) number with information on the structure of the number. The first character was previously limited between J and L but this letter indicates a decade and the number is also used for individuals to where it indicates a birth date. Thanks Julien Launois for pointing this out. Source: https://www.oecd.org/tax/automatic-exchange/crs-implementation-and-assistance/tax-identification-numbers/Albania-TIN.pdf Fixes 3db826c Closes https://github.com/arthurdejong/python-stdnum/pull/402
* Fix typo in UEN docstringAli-Akber Saifee2023-03-181-1/+1
|
* Extend number properties to show in online checkArthur de Jong2023-01-022-7/+11
| | | | This also ensures that flake8 is run on the WSGI script.
* Add support for Egypt TINLeandro Regueiro2023-01-023-0/+307
| | | | | | | This also convertis Arabic digits to ASCII digits. Closes https://github.com/arthurdejong/python-stdnum/issues/225 Closes https://github.com/arthurdejong/python-stdnum/pull/334
* Add initial CONTRIBUTING.md fileArthur de Jong2022-12-303-0/+170
| | | | | Initial description of the information needed for adding new number formats and some coding and testing guidelines.
* Fix typos found by codespellDimitri Papadopoulos2022-12-122-2/+2
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/344