Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/fr
Commit message (Collapse)AuthorAgeFilesLines
* Imporve French NIF validation (checksum)Kevin Dagostino2024-02-251-4/+15
| | | | | | | The last 3 digits are a checksum. % 511 https://ec.europa.eu/taxation_customs/tin/specs/FS-TIN%20Algorithms-Public.docx Closes https://github.com/arthurdejong/python-stdnum/pull/426
* 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
* Improve French NIF validationDimitri Papadopoulos2021-07-181-5/+11
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/266
* Use HTTPS in URLs where possibleArthur de Jong2020-03-201-1/+1
|
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-295-14/+14
| | | | | | | | | | | 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
* Update the flake8 ignore listArthur de Jong2018-02-141-1/+1
| | | | | | | | | | | | 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.
* Minor code improvements (mostly PEP8)Arthur de Jong2017-09-112-7/+15
|
* Docstring improvementsArthur de Jong2017-09-115-22/+18
|
* Switch to HTTPS URLsArthur de Jong2017-04-132-4/+4
|
* Add support for Monaco VAT numberArthur de Jong2017-03-251-2/+6
| | | | | | | The number uses the French TVA number but, unlike normal French VAT numbers, they are not valid French SIREN numbers. See https://github.com/arthurdejong/python-stdnum/issues/46
* Fix French NIF format testArthur de Jong2016-07-261-3/+3
| | | Fixes 2409ee9.
* Add NIF - French tax identification numberDimitri Papadopoulos2016-07-261-0/+75
| | | | Add module for NIF also known as SPI number.
* Move NIR check digit calculation to functionArthur de Jong2016-07-261-15/+30
| | | | | This also fixes a number of formatting issues, improves the module description and adds tests for the 2A and 2B departments.
* Improve French NIR validationDimitri Papadopoulos2016-07-261-5/+14
| | | | | Please note that the 7th character of the NIR might be 'A' or 'B'. Other than that the NIR contains digits only.
* Add extra tests for SIREN and SIRETArthur de Jong2016-07-252-2/+11
| | | | | | | | 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.
* Add French NIRDimitri Papadopoulos2016-05-271-0/+80
| | | | Add module for NIR also known as social security number.
* Add extra test for French TVAArthur de Jong2015-04-271-1/+5
|
* Implement validate() for French numbersArthur de Jong2013-06-082-37/+66
|
* 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-262-7/+10
| | | | | | 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 a TVA (Numéro d'identification à la taxe sur la ↵Arthur de Jong2012-02-171-0/+79
| | | | | | valeur ajoutée, French VAT number) module git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@137 9dea7c4f-944c-4273-ac1a-574ede026edc
* add a SIREN (Système d'Identification du Répertoire ↵Arthur de Jong2012-02-052-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