Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | 3 | -47/+94 | |
| | ||||||
* | 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 | 1 | -39/+58 | |
| | ||||||
* | Implement validate() for ISSN | Arthur de Jong | 2013-06-08 | 1 | -13/+29 | |
| | ||||||
* | Implement validate() for ISMN | Arthur de Jong | 2013-06-08 | 1 | -17/+34 | |
| | ||||||
* | Implement validate() for ISIL | Arthur de Jong | 2013-06-08 | 1 | -14/+34 | |
| | ||||||
* | Implement validate() for ISAN | Arthur de Jong | 2013-06-08 | 1 | -22/+41 | |
| | ||||||
* | 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 | 1 | -16/+32 | |
| | ||||||
* | Implement validate() for ISO 7064 algorithms | Arthur de Jong | 2013-06-08 | 5 | -37/+102 | |
| | ||||||
* | Implement validate() for the Verhoeff checksum | Arthur de Jong | 2013-06-08 | 1 | -7/+25 | |
| | ||||||
* | Implement validate() for the Luhn algorithms | Arthur de Jong | 2013-06-08 | 1 | -9/+28 | |
| | ||||||
* | Implement validate() for ISBN | Arthur de Jong | 2013-06-08 | 1 | -20/+38 | |
| | ||||||
* | Implement validate() for EAN | Arthur de Jong | 2013-06-08 | 1 | -10/+22 | |
| | ||||||
* | 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 | 1 | -0/+66 | |
| | | | | | | | | | | 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. | |||||
* | 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 | |
| | ||||||
* | 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 | |||||
* | re-add Python3 support | Arthur de Jong | 2012-02-26 | 8 | -11/+26 | |
| | | | | 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 | 1 | -1/+1 | |
| | | | | 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 | |||||
* | use a script to generate the list of number formats in ↵ | Arthur de Jong | 2012-02-26 | 1 | -62/+56 | |
| | | | | | | 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 | |||||
* | 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 | |||||
* | 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 | |||||
* | add a CPR (personnummer, the Danish citizen number) module | Arthur de Jong | 2012-02-23 | 2 | -0/+100 | |
| | | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@161 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | add a PPS No (Personal Public Service Number, Irish ↵ | Arthur de Jong | 2012-02-23 | 2 | -0/+61 | |
| | | | | | | personal number) module git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@160 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | add an OIB (Osobni identifikacijski broj, Croatian ↵ | Arthur de Jong | 2012-02-22 | 3 | -0/+79 | |
| | | | | | | personal identification number) module git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@159 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | rename numdb test file | Arthur de Jong | 2012-02-20 | 1 | -1/+1 | |
| | | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@158 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | add a stdnum.eu.vat.check_vies() function to do an ↵ | Arthur de Jong | 2012-02-20 | 1 | -0/+21 | |
| | | | | | | on-line check of the VAT number git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@157 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | add "pragma: no cover" statements to code that isn't ↵ | Arthur de Jong | 2012-02-19 | 2 | -2/+2 | |
| | | | | | | expected to be covered git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@156 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | add a VAT (European Union VAT number) module | Arthur de Jong | 2012-02-19 | 3 | -0/+107 | |
| | | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@155 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | make number description consistent | Arthur de Jong | 2012-02-19 | 1 | -2/+2 | |
| | | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@154 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | for all countries, provide vat as an alias for the local ↵ | Arthur de Jong | 2012-02-19 | 18 | -0/+54 | |
| | | | | | | vat identifier git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@153 9dea7c4f-944c-4273-ac1a-574ede026edc | |||||
* | give all packages a description | Arthur de Jong | 2012-02-19 | 29 | -0/+609 | |
| | | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@152 9dea7c4f-944c-4273-ac1a-574ede026edc |