Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Implement validate() for Spanish numbers | Arthur de Jong | 2013-06-08 | 4 | -70/+134 | |
| | | ||||||
| * | Implement validate() for Estonian numbers | Arthur de Jong | 2013-06-08 | 1 | -8/+23 | |
| | | ||||||
| * | Implement validate() for Danish numbers | Arthur de Jong | 2013-06-08 | 2 | -30/+51 | |
| | | ||||||
| * | Implement validate() for German numbers | Arthur de Jong | 2013-06-08 | 1 | -9/+22 | |
| | | ||||||
| * | Implement validate() for Cypriot numbers | Arthur de Jong | 2013-06-08 | 1 | -10/+25 | |
| | | ||||||
| * | Implement validate() for Czech numbers | Arthur de Jong | 2013-06-08 | 2 | -51/+80 | |
| | | ||||||
| * | Implement validate() for Brazillian numbers | Arthur de Jong | 2013-06-08 | 1 | -13/+27 | |
| | | ||||||
| * | Implement validate() for Bulgarian numbers | Arthur de Jong | 2013-06-08 | 4 | -64/+113 | |
| | | ||||||
| * | Implement validate() for Belgian numbers | Arthur de Jong | 2013-06-08 | 1 | -8/+23 | |
| | | ||||||
| * | Implement validate() for Austrian numbers | Arthur de Jong | 2013-06-08 | 1 | -11/+22 | |
| | | ||||||
| * | Implement validate() for Romanian numbers | Arthur de Jong | 2013-06-08 | 2 | -42/+65 | |
| | | ||||||
| * | Implement validate() for French numbers | Arthur de Jong | 2013-06-08 | 2 | -37/+66 | |
| | | ||||||
| * | Implement validate() for Dutch numbers | Arthur de Jong | 2013-06-08 | 3 | -39/+88 | |
| | | ||||||
| * | Implement validate() for MEID | Arthur de Jong | 2013-06-08 | 2 | -66/+95 | |
| | | ||||||
| * | Implement validate() for ISSN | Arthur de Jong | 2013-06-08 | 1 | -13/+29 | |
| | | ||||||
| * | Implement validate() for ISMN | Arthur de Jong | 2013-06-08 | 2 | -36/+71 | |
| | | ||||||
| * | Implement validate() for ISIL | Arthur de Jong | 2013-06-08 | 1 | -14/+34 | |
| | | ||||||
| * | Implement validate() for ISAN | Arthur de Jong | 2013-06-08 | 2 | -35/+66 | |
| | | ||||||
| * | Implement validate() for IBAN | Arthur de Jong | 2013-06-08 | 1 | -28/+38 | |
| | | ||||||
| * | Implement validate() for GRid numbers | Arthur de Jong | 2013-06-08 | 1 | -12/+20 | |
| | | ||||||
| * | Implement validate() for IMSI | Arthur de Jong | 2013-06-08 | 1 | -12/+24 | |
| | | ||||||
| * | Implement validate() for IMEI numbers | Arthur de Jong | 2013-06-08 | 2 | -27/+43 | |
| | | ||||||
| * | Implement validate() for ISO 7064 algorithms | Arthur de Jong | 2013-06-08 | 6 | -52/+119 | |
| | | ||||||
| * | Implement validate() for the Verhoeff checksum | Arthur de Jong | 2013-06-08 | 2 | -20/+42 | |
| | | ||||||
| * | Implement validate() for the Luhn algorithms | Arthur de Jong | 2013-06-08 | 2 | -22/+43 | |
| | | ||||||
| * | Implement validate() for ISBN | Arthur de Jong | 2013-06-08 | 2 | -31/+61 | |
| | | ||||||
| * | Implement validate() for EAN | Arthur de Jong | 2013-06-08 | 2 | -10/+65 | |
| | | ||||||
| * | Raise a proper exception if cleaning fails | Arthur de Jong | 2013-06-08 | 1 | -1/+6 | |
| | | ||||||
| * | Provide a module with validation exceptions | Arthur de Jong | 2013-06-08 | 2 | -0/+67 | |
|/ | | | | | | | | | | This introduces a new module for switching the validation scheme. Instead of using the is_valid() function that returns a boolean a validate() function either returns the sanitised number or raises an exception that should indicate the kind of validation failure. This should make it easier for applications calling this library to present more informative messages to the user. | |||||
* | Revert generating stdnum docstring dynamically | Arthur de Jong | 2013-06-07 | 4 | -11/+71 | |
| | | | | | | | | | | | | | 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. | |||||
* | Documentation consistency improvements | Arthur de Jong | 2013-06-07 | 2 | -8/+16 | |
| | ||||||
* | The robustness test were moved to the general tests | Arthur de Jong | 2013-06-07 | 1 | -16/+0 | |
| | ||||||
* | Remove empty line | Arthur de Jong | 2013-06-07 | 1 | -1/+0 | |
| | ||||||
* | GRid's format() function shouldn't have add_check_digit ↵ | Arthur de Jong | 2013-06-07 | 1 | -2/+2 | |
| | | | | parameter | |||||
* | Use a cleaner way to get all stdnum modules | Arthur de Jong | 2013-04-26 | 1 | -3/+6 | |
| | | | | This mechanism should work from Python 2.6 up to and including Python 3.3. | |||||
* | Fix doctest to not be dependant on dict ordering | Arthur de Jong | 2013-04-26 | 1 | -15/+42 | |
| | ||||||
* | Add a .gitignore file | Arthur de Jong | 2013-04-26 | 1 | -0/+11 | |
| | ||||||
* | generate part of the stdnum docstring based on ↵ | Arthur de Jong | 2012-09-22 | 2 | -64/+33 | |
| | | | | | | introspection of the modules git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@176 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | set svn:ignore properly | Arthur de Jong | 2012-06-16 | 0 | -0/+0 | |
| | | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@175 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | re-add Python3 support | Arthur de Jong | 2012-02-26 | 11 | -14/+35 | |
| | | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@174 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | get files ready for 0.7 release0.7 | Arthur de Jong | 2012-02-26 | 3 | -1/+603 | |
| | | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@172 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | update data files | Arthur de Jong | 2012-02-26 | 4 | -113/+122 | |
| | | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@171 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | also generate a list of modules for use in the Spinx ↵ | Arthur de Jong | 2012-02-26 | 1 | -4/+14 | |
| | | | | | | documentation git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@170 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | use a script to generate the list of number formats in ↵ | Arthur de Jong | 2012-02-26 | 3 | -124/+157 | |
| | | | | | | stdnum git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@169 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | some more documentation improvements | Arthur de Jong | 2012-02-26 | 21 | -62/+59 | |
| | | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@168 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | make script executable | Arthur de Jong | 2012-02-26 | 1 | -0/+0 | |
| | | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@167 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | add a to_vta() function to the stdnum.fr.siren module | Arthur de Jong | 2012-02-26 | 1 | -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 Jong | 2012-02-26 | 67 | -203/+278 | |
| | | | | | | usable format git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | add the optional dependency on suds for the ↵ | Arthur de Jong | 2012-02-25 | 1 | -0/+4 | |
| | | | | | | stdnum.eu.vat.check_vies() function git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@164 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | make the get_birth_date() function publically available | Arthur de Jong | 2012-02-24 | 1 | -2/+2 | |
| | | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@163 9dea7c4f-944c-4273-ac1a-574ede026edc |