Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/de/vat.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo (thanks Александр Кизеев)Arthur de Jong2023-11-121-1/+1
|
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-291-2/+2
| | | | | | | | | | | 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
* Docstring improvementsArthur de Jong2017-09-111-4/+4
|
* Implement validate() for German numbersArthur de Jong2013-06-081-9/+22
|
* Revert generating stdnum docstring dynamicallyArthur de Jong2013-06-071-1/+1
| | | | | | | | | | | | | Generating the docstring dynamically results in all stdnum modules being imported for every import from any stdnum module which is a performance hit. So we switch back to a manually generated list, using: from stdnum.util import get_module_list print '\n'.join(get_module_list()) This also shortens a few short descriptions to attempt to fit things on one line.
* ensure that the module docstrings are in a somewhat more ↵Arthur de Jong2012-02-261-2/+3
| | | | | | usable format git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
* add an Ust ID Nr. (Umsatzsteur Identifikationnummer, the ↵Arthur de Jong2012-02-101-0/+53
German VAT number) module git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@104 9dea7c4f-944c-4273-ac1a-574ede026edc