| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/428
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Thanks Davide Walder for finding this.
Closes https://github.com/arthurdejong/python-stdnum/issues/427
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/422
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/421
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Fixes b1dc313
Fixes 90044e2
|
|
|
|
|
| |
The portal.nalog.gov.by web no longer has an incomplete certificate
chain.
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/412
Closes https://github.com/arthurdejong/python-stdnum/pull/413
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
The number seems to be no longer valid breaking the online tests.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/417
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/414
|
|
|
|
|
| |
This also checks that the file name referenced in the file header is
correct.
|
|
|
|
|
| |
This improves consistency across files and fixes some files that had an
incorrect file name reference.
|
|
|
|
|
| |
See http://www.straightlineinternational.com/docs/vaildating_canadian_sin.pdf
See https://lists.arthurdejong.org/python-stdnum-users/2023/msg00000.html
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/418
|
|
|
|
| |
See https://github.com/actions/setup-python/issues/672
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/384
Closes https://github.com/arthurdejong/python-stdnum/pull/386
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/401
|
|
|
|
|
|
| |
More information at https://dvv.fi/en/reform-of-personal-identity-code
Cloess https://github.com/arthurdejong/python-stdnum/pull/396
|
|
|
|
|
|
| |
This also extends the documentation for the number.
Closes https://github.com/arthurdejong/python-stdnum/pull/347/files
|
|
|
|
|
|
| |
This also validates the county part of the number.
Closes https://github.com/arthurdejong/python-stdnum/pull/407
|
|
|
|
| |
This also fixes code style fixes in the Sphinx configuration file.
|
| |
|
|
|
|
|
|
|
| |
The original way of calling strftime was likely an artifact of Python
2.6 support.
Fixes 7e84c05
|
|
|
|
|
| |
Some new AIs have new date formats or have changed the way optional
components of formats are defined.
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/409
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
This also ensures that flake8 is run on the WSGI script.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Initial description of the information needed for adding new number
formats and some coding and testing guidelines.
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/344
|