| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Note that the Swift IBAN Registry in txt format is currently unavailable
so hasn't been updated.
|
|
|
|
| |
This adds validation of serial numbers that appear on Euro bills.
|
|
|
|
|
|
| |
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 caches the instantiated SOAP client classes in the util module
instead of doing the caching in every module that performs requests.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This number is used to classify business. Validation is done based on a
downloaded registry.
|
|
|
|
| |
Creditor (AT-02)
|
|
|
|
|
|
| |
This changes the get_vat_module() function to a more generic
get_cc_module() function so that it can also be used for other things
like IBAN checking.
|
|
|
|
|
| |
This refactors out the SOAP client function that was implemented for
VIES to the stdnum.utils module.
|
|
|
|
|
|
|
| |
This fixes a bug when checking re-use of the global SOAP client object.
The object could not be evaluated in boolean context so is no explicitly
compared to None. For suds a MethodNotFound exception would be raised
for __nonzero__() (which Python uses for boolean comparison).
|
| |
|
|
|
|
|
| |
This moves the finding of a VAT module to the util module so that it can
be more easily re-used for non-EU countries.
|
|
|
|
|
| |
Initial testing seems to suggest that proxy-support is not complete with
pysimplesoap (at least httplib2 and PySocks seem to be required).
|
|
|
|
|
|
|
|
| |
Add a function to stdnum.eu.vat so that when one does a VIES VAT number
check, one gets a proof (certificate) that one did the check, as defence
against the VAT administration later putting this in doubt. This
certificate is provided by the VIES service, if one provides one's own
VAT number.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@168 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
usable format
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
on-line check of the VAT number
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@157 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@155 9dea7c4f-944c-4273-ac1a-574ede026edc
|