Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/iban.py
Commit message (Collapse)AuthorAgeFilesLines
* Validate country-specific part of IBANArthur de Jong2016-09-101-6/+27
| | | | | | This adds the possible of validating the country-specific part of the IBAN. If the country has an IBAN module, checking is also delegated to that module.
* Implement calc_check_digits() in IBANArthur de Jong2016-09-101-7/+18
| | | | | | Introduce a function to calculate the two check digits of an IBAN. Since the check digits are the third and fourth characters in the number, placeholders need to be provided when calling this function.
* Make more information links consistentArthur de Jong2016-04-111-2/+3
| | | | | Also fix a docstring in stdnum.nl.bsn and add a pointer to stdnum.nl.onderwijsnummer.
* Integrate information from the wikiArthur de Jong2015-10-301-1/+5
| | | | | | | This adds the information that was previously in the Trac wiki into the source docstrings because the Trac instance is being phased out. This also includes small updates to the ISIL module.
* Code style improvementsArthur de Jong2015-10-111-1/+1
| | | | | | | Ensure that regular expressions are r'' strings, avoid too long lines and fix line wrapping. Also avoid catching toplevel Exception when possible and use binascii for hex to binary conversion which is available in both Python 2 and 3.
* Fix common spelling mistakeArthur de Jong2014-11-011-2/+2
|
* Only catch ExceptionArthur de Jong2014-10-181-1/+1
|
* Implement validate() for IBANArthur de Jong2013-06-081-28/+38
|
* some more documentation improvementsArthur de Jong2012-02-261-1/+7
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@168 9dea7c4f-944c-4273-ac1a-574ede026edc
* ensure that the module docstrings are in a somewhat more ↵Arthur de Jong2012-02-261-2/+2
| | | | | | usable format git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
* add "pragma: no cover" statements to code that isn't ↵Arthur de Jong2012-02-191-1/+1
| | | | | | expected to be covered git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@156 9dea7c4f-944c-4273-ac1a-574ede026edc
* implement a stdnum.util module for holding utility ↵Arthur de Jong2012-02-041-3/+5
| | | | | | functions (for now clean()) git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@100 9dea7c4f-944c-4273-ac1a-574ede026edc
* make source code layout follow PEP8 moreArthur de Jong2011-08-191-6/+12
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@76 9dea7c4f-944c-4273-ac1a-574ede026edc
* move more validation into try/except (specifically the ↵Arthur de Jong2011-02-051-3/+3
| | | | | | _convert() call) git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@59 9dea7c4f-944c-4273-ac1a-574ede026edc
* add an IBAN (International Bank Account Number) moduleArthur de Jong2011-01-161-0/+91
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@51 9dea7c4f-944c-4273-ac1a-574ede026edc