Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/fr/siren.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Minor code improvements (mostly PEP8)Arthur de Jong2017-09-111-2/+1
|
* Docstring improvementsArthur de Jong2017-09-111-4/+3
|
* Switch to HTTPS URLsArthur de Jong2017-04-131-2/+2
|
* Add extra tests for SIREN and SIRETArthur de Jong2016-07-251-1/+1
| | | | | | | | This adds tests for a few numbers that have been found online and allows the dot as a seprator because those numbers were found. It also ensures that the SIREN validation is also called for SIRET and adds a SIRET formatting function.
* Implement validate() for French numbersArthur de Jong2013-06-081-9/+23
|
* add a to_vta() function to the stdnum.fr.siren moduleArthur de Jong2012-02-261-0/+19
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@166 9dea7c4f-944c-4273-ac1a-574ede026edc
* ensure that the module docstrings are in a somewhat more ↵Arthur de Jong2012-02-261-2/+5
| | | | | | usable format git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
* add a SIREN (Système d'Identification du Répertoire ↵Arthur de Jong2012-02-051-0/+49
des Entreprises, a French company identification number) module git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@102 9dea7c4f-944c-4273-ac1a-574ede026edc