| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
This changes the minimisation function that is used for comparison and
canonicalisation to not reduce Hamburg and Homburg to the same string.
This makes the function slightly more strict in which encoding
differences to accept.
This also adds a few aliases to the court names.
Closes https://github.com/arthurdejong/python-stdnum/issues/136
|
|
|
|
|
|
|
|
| |
e-CF is the new way of DGII document, is the same as NCF, but the
difference one to another, is that e-CF has 13 digit and is electronic
invoice, with this change it will validate the correct NCF and e-CF.
Closes https://github.com/arthurdejong/python-stdnum/pull/135
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/112
Closes https://github.com/arthurdejong/python-stdnum/issues/104
|
|
|
|
| |
Fixes 170e599
|
|
|
|
|
| |
To be more consistent with other similar functions. This deprecates the
old function which now is a wrapper around get_label().
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/99
|
| |
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/97
|
|
|
|
|
| |
This converts many of the "reasonable" unicode digits that are just
variations on ASCII 0-9 to their ASCII counterparts.
|
|
|
|
|
|
|
|
|
|
|
| |
The problem with the latter is that it will also accept all kinds of
unicode digits that are not the ASCII 0-9 digits causing all kinds of
problems in check digit calculations.
Some of these unicode characters are also considered digits by int() but
some are not (such as the SUPERSCRIPT TWO unicode character).
Closes https://github.com/arthurdejong/python-stdnum/issues/96
|
| |
|
| |
|
| |
|
|
|
|
| |
This also adds the release notes to the generated documentation.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
For consistency with the other validation modules that have an extra
argument to disable or enable certain parts of the validation.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This fixes an issue when response for check_dgii() comes with 2 records
instead of one for same RNC.
Closes https://github.com/arthurdejong/python-stdnum/pull/95
|
| |
|
|
|
|
|
|
|
| |
This ensures that formatting characters are also removed when formatted
numbers are passed to the get_birth_date() functions.
Closes https://github.com/arthurdejong/python-stdnum/issues/94
|
|
|
|
|
|
|
|
| |
This adds validation of MAC (Ethernet) addresses. It will perform
lookups in the IEEE registry for manufacturer names for universally
administered addresses.
Closes https://github.com/arthurdejong/python-stdnum/issues/93
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/90
|
| |
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/88
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/88
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/89
|
|
|
|
|
|
|
| |
Add the case of Cedulas and RUCs of foreigners in Ecuador, as
Venezuelans and Colombians
Closes https://github.com/arthurdejong/python-stdnum/pull/87
|
|
|
|
|
|
|
| |
The regulator changed their site to use HTTPS by default; making this
resource unavailable through HTTP.
Closes https://github.com/arthurdejong/python-stdnum/pull/85
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
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.
|