Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Run Python 3.5 and 3.6 GitHub tests on older UbuntuArthur de Jong2022-12-121-1/+17
| | | | | | | The ubuntu-latest now points to ubuntu-22.04 instead of ubuntu-20.04 before. This also switches the PyPy version to test with to 3.9.
* Fix a typovaleriko2022-12-031-1/+1
| | | | Clocses https://github.com/arthurdejong/python-stdnum/pull/341
* Avoid newer flake8Arthur de Jong2022-11-281-1/+1
| | | | | | | | | The new 6.0.0 contains a number of backwards incompatible changes for which plugins need to be updated and configuration needs to be updated. Sadly the maintainer no longer accepts contributions or discussion See https://github.com/PyCQA/flake8/issues/1760
* Get files ready for 1.18 release1.18Arthur de Jong2022-11-1320-10/+653
|
* Update database filesArthur de Jong2022-11-139-240/+622
|
* Update German OffeneRegister lookup data formatArthur de Jong2022-11-132-29/+20
| | | | | It appears that the data structure at OffeneRegister has changed which requires a different query. Data is returned in a different structure.
* Increase timeout for CN Open Data downloadArthur de Jong2022-11-131-2/+2
| | | | It seems that raw.githubusercontent.com can be extremely slow.
* Pick up custom certificate from script pathArthur de Jong2022-11-131-2/+4
| | | | | | This ensures that the script can be run from any directory. Fixes c4ad714
* vatin: Add a few more tests for is_validLeandro Regueiro2022-11-131-0/+18
| | | | See https://github.com/arthurdejong/python-stdnum/pull/316
* Add Pakistani ID card numberArthur de Jong2022-11-133-0/+173
| | | | | | | | Based on the implementation provided by Quantum Novice (Syed Haseeb Shah). Closes https://github.com/arthurdejong/python-stdnum/pull/306 Closes https://github.com/arthurdejong/python-stdnum/issues/304
* Add support for Slovenian EMŠO (Unique Master Citizen ↵Blaž Bregar2022-11-133-0/+196
| | | | | | Number) Closes https://github.com/arthurdejong/python-stdnum/pull/338
* Ensure we always run flake8-bugbearArthur de Jong2022-11-134-4/+4
| | | | | This assumes that we no longer use Python 2.7 for running the flake8 tests any more.
* Use HTTPS in URLs where possibleArthur de Jong2022-11-134-5/+5
|
* Pad with zeroes in a more readable mannerLeandro Regueiro2022-11-131-3/+3
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/340