Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/ismn.py
Commit message (Collapse)AuthorAgeFilesLines
* Docstring improvementsArthur de Jong2017-09-111-7/+7
|
* Ensure 100% branch coverageArthur de Jong2017-08-281-2/+2
| | | | | | | | | | | This ensures that the tests fail if 100% branch coverage is not achieved. It also adds some pragma statements for code that cannot be covered or is Python version dependent. Furthermore, the get_module_list() function was removed from stdnum.util and more tests were made from stdnum.util and stdnum.numdb. The functionality to call format() in a country-specific IBAN implementation was also dropped because it was not used.
* An ISMN can only be 10 or 13 digitsArthur de Jong2017-04-151-2/+6
| | | | This also adds the test that an ISMN should start with 9790.
* Turn on and improve branch coverageArthur de Jong2015-08-161-1/+1
|
* Implement validate() for ISMNArthur de Jong2013-06-081-17/+34
|
* ensure that the module docstrings are in a somewhat more ↵Arthur de Jong2012-02-261-4/+6
| | | | | | usable format git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
* implement a stdnum.util module for holding utility ↵Arthur de Jong2012-02-041-3/+3
| | | | | | functions (for now clean()) git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@100 9dea7c4f-944c-4273-ac1a-574ede026edc
* implement an ismn_type() functionArthur de Jong2011-09-251-11/+18
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@85 9dea7c4f-944c-4273-ac1a-574ede026edc
* make source code layout follow PEP8 moreArthur de Jong2011-08-191-7/+13
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@76 9dea7c4f-944c-4273-ac1a-574ede026edc
* use the ean module for calculating the check digitArthur de Jong2011-06-201-9/+6
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@71 9dea7c4f-944c-4273-ac1a-574ede026edc
* switch to using enumerate() for looping over numbers ↵Arthur de Jong2010-08-261-1/+1
| | | | | | where needed git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@34 9dea7c4f-944c-4273-ac1a-574ede026edc
* add an ISMN (International Standard Music Number) moduleArthur de Jong2010-08-211-0/+103
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@33 9dea7c4f-944c-4273-ac1a-574ede026edc