| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
Note that the Swift IBAN Registry in txt format is currently unavailable
so hasn't been updated.
|
|
|
|
|
|
|
|
| |
This moves all the update scripts to their own directory so they don't
clutter the toplevel directory.
This also ensures that the scripts are passed through flake8 and makes
some adjustments for that alongside a few other cleanups.
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/57
|
|
|
|
| |
Fixes a6ae1d0.
|
|
|
|
|
| |
This also fixes an escaping issue in the automatically generated
documentation for modules that end with an underscore.
|
|
|
|
|
| |
This also shortens the stdnum module docstring and updates the Sphinx
configuration.
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/56
|
|
|
|
| |
This adds validation of the Chemical Abstracts Service Registry Number.
|
|
|
|
| |
This puts the number before the number name to make it a little clearer.
|
|
|
|
|
| |
This updates the browser history with with the numbers that were checked
so that you can easily go back and forth between checked number.
|
| |
|
|
|
|
|
|
| |
Also add a few verified correct numbers.
Fixes b7b812c.
|
|
|
|
| |
This adds validation of serial numbers that appear on Euro bills.
|
|
|
|
|
|
| |
The new name is more descriptive and easier to remember. This makes
stdnum.iso9362 a compatibility module that can be imported with the old
name but provides a deprecation warning.
|
|
|
|
|
|
| |
This tries zeep, suds (suds-jurko) and falls back to using pysimplesoap
for performing the SOAP requests. From those zeep seems to be the best
supported implementation.
|
|
|
|
|
|
| |
These tests are not normally run as part of the normal test suite and
have to be explicitly enabled by setting the ONLINE_TESTS environment
variable to avoid overloading these online services.
|
|
|
|
|
|
| |
This adds functions for querying the Dirección General de Impuestos
Internos (DGII) API to check if the RNC and NCF combination provided is
valid.
|
|
|
|
|
|
| |
This adds functions for querying the Dirección General de Impuestos
Internos (DGII) API to validate the RNC and search the register by
keyword.
|
|
|
|
|
| |
This number does not have a check digit but uses a distinctive enough
format that it should not be too great of a problem.
|
|
|
|
|
| |
This caches the instantiated SOAP client classes in the util module
instead of doing the caching in every module that performs requests.
|
| |
|
|
|
|
|
|
| |
Some RNCs are apparently valid while having an incorrect check digit
(though most appear to be inactive). There also appear to be valid RNCs
that do not have 9 digits.
|