Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement validate() for German numbersArthur de Jong2013-06-081-9/+22
|
* Implement validate() for Cypriot numbersArthur de Jong2013-06-081-10/+25
|
* Implement validate() for Czech numbersArthur de Jong2013-06-082-51/+80
|
* Implement validate() for Brazillian numbersArthur de Jong2013-06-081-13/+27
|
* Implement validate() for Bulgarian numbersArthur de Jong2013-06-083-47/+94
|
* Implement validate() for Belgian numbersArthur de Jong2013-06-081-8/+23
|
* Implement validate() for Austrian numbersArthur de Jong2013-06-081-11/+22
|
* Implement validate() for Romanian numbersArthur de Jong2013-06-082-42/+65
|
* Implement validate() for French numbersArthur de Jong2013-06-082-37/+66
|
* Implement validate() for Dutch numbersArthur de Jong2013-06-083-39/+88
|
* Implement validate() for MEIDArthur de Jong2013-06-081-39/+58
|
* Implement validate() for ISSNArthur de Jong2013-06-081-13/+29
|
* Implement validate() for ISMNArthur de Jong2013-06-081-17/+34
|
* Implement validate() for ISILArthur de Jong2013-06-081-14/+34
|
* Implement validate() for ISANArthur de Jong2013-06-081-22/+41
|
* Implement validate() for IBANArthur de Jong2013-06-081-28/+38
|
* Implement validate() for GRid numbersArthur de Jong2013-06-081-12/+20
|
* Implement validate() for IMSIArthur de Jong2013-06-081-12/+24
|
* Implement validate() for IMEI numbersArthur de Jong2013-06-081-16/+32
|
* Implement validate() for ISO 7064 algorithmsArthur de Jong2013-06-085-37/+102
|
* Implement validate() for the Verhoeff checksumArthur de Jong2013-06-081-7/+25
|
* Implement validate() for the Luhn algorithmsArthur de Jong2013-06-081-9/+28
|
* Implement validate() for ISBNArthur de Jong2013-06-081-20/+38
|
* Implement validate() for EANArthur de Jong2013-06-081-10/+22
|
* Raise a proper exception if cleaning failsArthur de Jong2013-06-081-1/+6
|
* Provide a module with validation exceptionsArthur de Jong2013-06-081-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 dynamicallyArthur de Jong2013-06-074-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 lineArthur de Jong2013-06-071-1/+0
|
* GRid's format() function shouldn't have add_check_digit ↵Arthur de Jong2013-06-071-2/+2
| | | | parameter
* Use a cleaner way to get all stdnum modulesArthur de Jong2013-04-261-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 orderingArthur de Jong2013-04-261-15/+42
|
* generate part of the stdnum docstring based on ↵Arthur de Jong2012-09-222-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 supportArthur de Jong2012-02-268-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.7Arthur de Jong2012-02-261-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@172 9dea7c4f-944c-4273-ac1a-574ede026edc
* update data filesArthur de Jong2012-02-264-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 Jong2012-02-261-62/+56
| | | | | | stdnum git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@169 9dea7c4f-944c-4273-ac1a-574ede026edc
* some more documentation improvementsArthur de Jong2012-02-2621-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 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-2667-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 availableArthur de Jong2012-02-241-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) moduleArthur de Jong2012-02-232-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 Jong2012-02-232-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 Jong2012-02-223-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 fileArthur de Jong2012-02-201-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 Jong2012-02-201-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 Jong2012-02-192-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) moduleArthur de Jong2012-02-193-0/+107
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@155 9dea7c4f-944c-4273-ac1a-574ede026edc
* make number description consistentArthur de Jong2012-02-191-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 Jong2012-02-1918-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 descriptionArthur de Jong2012-02-1929-0/+609
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@152 9dea7c4f-944c-4273-ac1a-574ede026edc