Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/fr/siret.py
Commit message (Collapse)AuthorAgeFilesLines
* Support special validation of La Post SIRETCédric Krier2022-03-211-2/+13
| | | | | | | See https://fr.wikipedia.org/wiki/Système_d'identification_du_répertoire_des_établissements#Exceptions_pour_le_groupe_La_Poste Closes https://github.com/arthurdejong/python-stdnum/pull/293 Closes https://github.com/arthurdejong/python-stdnum/issues/291
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-291-3/+3
| | | | | | | | | | | 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-7/+6
|
* Add extra tests for SIREN and SIRETArthur de Jong2016-07-251-1/+10
| | | | | | | | 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.
* Add French SIRET numberYoann Aubineau2016-07-251-0/+97
Add a SIRET (Système d'Identification du Répertoire des ETablissements, a French company etablishment identification number) module.