Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/fi
Commit message (Collapse)AuthorAgeFilesLines
* Fix file headersArthur de Jong2023-08-061-1/+1
| | | | | This improves consistency across files and fixes some files that had an incorrect file name reference.
* Add support for Finland HETU new century indicating signsmjturt2023-04-291-3/+3
| | | | | | More information at https://dvv.fi/en/reform-of-personal-identity-code Cloess https://github.com/arthurdejong/python-stdnum/pull/396
* Use HTTPS in URLs where possibleArthur de Jong2020-03-201-2/+2
|
* Support validating temporary Finnish personal identity codesAleksi Hoffman2020-03-011-5/+9
| | | | | | | This adds an optional allow_temporary parameter, which defaults to False, to the validate() function. Closes https://github.com/arthurdejong/python-stdnum/pull/191
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-293-6/+6
| | | | | | | | | | | 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
* Add validation for "individual" part of hetuEsa Halsti2018-03-111-0/+3
| | | | | | | 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
* Update the flake8 ignore listArthur de Jong2018-02-141-3/+3
| | | | | | | | | | | | 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.
* Make import ordering consistentArthur de Jong2017-09-112-2/+2
|
* Docstring improvementsArthur de Jong2017-09-115-28/+17
|
* Implement Finnish individual tax number validationMohammed Salman2017-08-201-0/+74
|
* Add Python 2.6 supportArthur de Jong2016-11-141-2/+2
| | | | | This also brings the list of Python versions in setup.py in line with tox.ini.
* Use zip() instead of enumerate()Arthur de Jong2015-10-051-2/+2
| | | | Makes the code slightly simpler and more compact.
* Add alias to hetu in for finnish personal id codeSergio Isidoro2015-10-051-0/+1
|
* Split out format() functionArthur de Jong2015-07-121-13/+17
| | | | | | This uses the stdnum.fi.alv module more extensively and ensures that validate() returns a compact representation and a separate format() function is available.
* Add validation for Finnish y-tunnus (business identifier)Lari Haataja2015-07-122-0/+61
|
* Add a whitelist for short numbers and fix APIArthur de Jong2015-07-121-23/+41
| | | | | | This implements separate functions compact() and format() and fixes the doctests. This also implements a whitelist of registered short numbers to avoid accidentally validating just any number.
* Validation for Finnish association identifierLari Haataja2015-07-121-0/+76
|
* Implement validate() for Finnish numbersArthur de Jong2013-06-082-27/+58
|
* re-add Python3 supportArthur de Jong2012-02-261-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@174 9dea7c4f-944c-4273-ac1a-574ede026edc
* ensure that the module docstrings are in a somewhat more ↵Arthur de Jong2012-02-262-2/+3
| | | | | | usable format git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
* for all countries, provide vat as an alias for the local ↵Arthur de Jong2012-02-191-0/+3
| | | | | | vat identifier git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@153 9dea7c4f-944c-4273-ac1a-574ede026edc
* give all packages a descriptionArthur de Jong2012-02-191-0/+21
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@152 9dea7c4f-944c-4273-ac1a-574ede026edc
* add an ALV nro (Arvonlisäveronumero, Finnish VAT ↵Arthur de Jong2012-02-171-0/+58
| | | | | | number) module git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@131 9dea7c4f-944c-4273-ac1a-574ede026edc
* add a HETU (Finnish personal identity code) module as ↵Arthur de Jong2011-11-072-0/+94
provided by Jussi Judin (#5) git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@92 9dea7c4f-944c-4273-ac1a-574ede026edc