| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/57
|
|
|
|
| |
Fixes a6ae1d0.
|
|
|
|
|
| |
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 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.
|
|
|
|
|
|
| |
These numbers were found to be valid but had an invalid check digit
nonetheless (though most appear to be inactive). Also there appear to be
a few valid Cedula that do not have 11 digits.
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/54
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This fixes a bug in the check digit calculation for the 9-digit numbers
that start with a 6 for individuals without a RČ. This also adds a few
tests for Czech VAT numbers.
See https://github.com/arthurdejong/python-stdnum/issues/51
|
|
|
|
|
|
|
|
|
| |
This is based on what was done by Mohammed Salman of Holvi. This adds
more tests and validates the check digit.
This uses the check digit algorithm from Isikukood which seems to work
with all tested numbers although there is no confirmation that this is
the correct algorithm.
|
| |
|
|
|
|
|
|
| |
This ensures that an InvalidComponent() exception is raised when an
unknown EAN bookland code is found. It will also raise this exception
when using to_isbn10() when not using the 978 code.
|
|
|
|
|
|
|
|
|
|
|
| |
This ensures that the tests fail if 100% branch coverage is not
achieved. It also adds some pragma statements for code that cannot be
covered or is Python version dependent.
Furthermore, the get_module_list() function was removed from stdnum.util
and more tests were made from stdnum.util and stdnum.numdb. The
functionality to call format() in a country-specific IBAN implementation
was also dropped because it was not used.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This changes the alphanumeric to numeric translation to be slightly more
compact and slightly faster.
|
|
|
|
| |
This also adds the test that an ISMN should start with 9790.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This moves the conversion of an alphanumeric string to a numeric
representation for modulo 97 calculation to the mod_97_10 module because
this mechanism seems to be used by multiple formats.
|
| |
|
| |
|
|
|
|
|
| |
Switch to a slightly more readable syntax for alternating between two
weights in checksums calculations.
|
| |
|