| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
This partially reverts 58ea7b2.
Closes https://github.com/arthurdejong/python-stdnum/issues/82
|
|
|
|
|
|
|
|
| |
This ensures that an IBAN with a missing bban part and unknown country
code (while still having a valid MOD 97,10 checksum) is considered
valid.
Closes https://github.com/arthurdejong/python-stdnum/issues/84
|
|
|
|
|
|
|
| |
This adds validation of Bitcoin addresses. No check is done that the
addresses actually exist but only that they are syntactically correct.
Closes https://github.com/arthurdejong/python-stdnum/issues/80
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
NIF starting with K, L or M are NIF instead of CIF.
This also adds NIF-DNI-CIF-NIE classification tests.
Closes https://github.com/arthurdejong/python-stdnum/pull/81
|
|
|
|
|
|
|
| |
This includes validation of Norwegian bank account numbers and
conversion to IBAN.
Closes https://github.com/arthurdejong/python-stdnum/issues/79
|
|
|
|
|
|
|
| |
Thans to Bradley Smith for providing the needed information to implement
this.
See https://lists.arthurdejong.org/python-stdnum-users/2018/msg00003.html
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/72
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/75
|
|
|
|
|
|
|
| |
This tries to screen-scrape the new DGII form that is used to validate
the new format of NCF numbers.
Closes https://github.com/arthurdejong/python-stdnum/issues/71
|
|
|
|
|
| |
This ensures that all text is unicode internally and encoded to UTF-8 on
response.
|
|
|
|
|
| |
Fix an issue where the format accepted a mix of personal and company
numberer in validation causing in a raised ValueError exception.
|
|
|
|
|
|
| |
A few modules use non-ASCII characters in numbers. This introduces a
to_unicode() function in util so that it can be used by multiple
modules.
|
| |
|
|
|
|
|
| |
A Belgian IBAN should not end with 00. This also fixes a docstring and
comment in the IBAN module.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ensures that imsi.split() will correctly split the IMSI into an MCC, MNC
and MSIN even if not all MNCs within a single MCC have the same length.
This has the downside of not being able to guess the MNC length in some
cases.
This also omits empty information from the data file and updates the
data file from Wikipedia.
Closes https://github.com/arthurdejong/python-stdnum/issues/68
|
|
|
|
|
| |
This speeds up the animation, collapsing the list before performing the
server request and disable the slide animation on history navigation.
|
|
|
|
|
|
| |
This ensures that requests that browsers make using XMLHttpRequest (they
set the X-Requested-With header) are cached separately from normal
requests.
|
|
|
|
|
|
|
|
|
| |
This adds support for validating Dominican Republic invoice numbers that
should be used since from 2018-05-01.
http://www.dgii.gov.do/contribuyentes/personasFisicas/inicioOperaciones/ComprobantesFiscales/Paginas/SecuenciaDeNCF.aspx
Closes https://github.com/arthurdejong/python-stdnum/issues/69
|
| |
|
|
|
|
|
| |
Based on the implementation provided by Markus Törnqvist and Lari
Haataja of Holvi Payment Services.
|
|
|
|
|
|
| |
Fixes 98d11a3
Closes https://github.com/arthurdejong/python-stdnum/pull/67
|
|
|
|
|
|
| |
Based on the implementation provided by Mohammed Salman of Holvi.
Closes https://github.com/arthurdejong/python-stdnum/pull/50
|
|
|
|
| |
Fixes ee263a5
|
|
|
|
|
| |
This also fixes the name of the Dutch postal_code alias and tunes the
tests.
|
|
|
|
|
| |
This adds further checks to the country-specific part of the IBAN for
Montenegro IBANs.
|
|
|
|
|
|
|
|
|
|
| |
Based on the implementation provided by Mohammed Salman of Holvi.
This is the old tax number that is being replaced by the Steuerliche
Identifikationsnummer. The number has a regional form (which is used
most often) and a national form.
Closes https://github.com/arthurdejong/python-stdnum/pull/49
|
|
|
|
|
|
|
| |
The range between 900 and 999 is reserved for temporary identifiers and
is not given to any real person.
Closes https://github.com/arthurdejong/python-stdnum/pull/66
|
| |
|
|
|
|
|
|
|
| |
This exposes the stdnum.do.rnc.check_dgii() in the stdnum.do.cedula
module with but rename the rnc result entry to cedula.
Closes https://github.com/arthurdejong/python-stdnum/issues/63
|
|
|
|
|
|
|
|
| |
This strips the wrapper that PySimpleSOAP puts around results from the
DGII PySimpleSOAP SOAP call.
Closes https://github.com/arthurdejong/python-stdnum/issues/64
Closes https://github.com/arthurdejong/python-stdnum/issues/65
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Re-enable the flake8 test for unused imports by explicitly marking
imports for namespace purposes. This allows us to remove a few unused
imports.
A few more cleanups that allow us to reduce the number of ignored flake8
ignored tests. The remaining ignored tests are now documented.
Ignore a flake8 warning about print statements because we use print in
the update scripts.
|
|
|
|
|
|
|
|
|
| |
This adds a test for IBANs that were found online together with a BIC
code to test the IBAN to swift code mapping.
This also supports some extra separators in IBAN and BIC numbers and
fixes a check digit calculation issue in the Belgian account number
check digits.
|
|
|
|
|
|
|
| |
This adds further checks to the country-specific part of the IBAN for
Belgian IBANs.
Closes https://github.com/arthurdejong/python-stdnum/issues/62
|
|
|
|
|
| |
BIC codes are sometimes written in a space-separated form this correctly
cleans the spaces for compact representation.
|
|
|
|
|
|
| |
This adds a timeout parameter to all checks that use a SOAP web service
to reduce the blocking time. The default timeout for all checks is 30
seconds.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Whilst working on the Reproducible Builds effort [0], we noticed that
python-stdnum could not be built reproducibly as it relies on a stable
set ordering when generating the documentation.
This has been filed in Debian as #88652
[0] https://reproducible-builds.org/
[1] https://bugs.debian.org/886522
Closes: https://github.com/arthurdejong/python-stdnum/pull/61
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
|
| |
|
| |
|
|
|
|
|
|
|
| |
This ensures that the README is read correctly on all supported Python
interpreters.
Fixes 1304122
|
|
|
|
| |
Fixes #59
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This uses the "normal" Client class from zeep if CachingClient is not
available (this is the case on older zeep versions).
This also records (and documents) the dependencies for SOAP libraries in
setup.py.
|
| |
|
| |
|