Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/issn.py
Commit message (Collapse)AuthorAgeFilesLines
* Minor ISSN and ISBN documentation fixesChales Horn2023-06-171-2/+2
| | | | | | | Fix a comment that claimed incorrect ISSN length and use slightly more consistent terminology around check digits in ISSN and ISBN. Closes https://github.com/arthurdejong/python-stdnum/pull/415
* Use HTTPS in URLs where possibleArthur de Jong2020-03-201-1/+1
|
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-291-2/+2
| | | | | | | | | | | The problem with the latter is that it will also accept all kinds of unicode digits that are not the ASCII 0-9 digits causing all kinds of problems in check digit calculations. Some of these unicode characters are also considered digits by int() but some are not (such as the SUPERSCRIPT TWO unicode character). Closes https://github.com/arthurdejong/python-stdnum/issues/96
* Docstring improvementsArthur de Jong2017-09-111-5/+4
|
* 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-2/+10
| | | | | | | 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.
* Implement validate() for ISSNArthur de Jong2013-06-081-13/+29
|
* 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-2/+3
| | | | | | 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-4/+8
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@76 9dea7c4f-944c-4273-ac1a-574ede026edc
* implement a conversion function from ISSN to EANArthur de Jong2011-06-201-0/+10
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@72 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
* fix typoArthur de Jong2010-08-201-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@24 9dea7c4f-944c-4273-ac1a-574ede026edc
* rename validate() function to is_valid()Arthur de Jong2010-07-271-3/+3
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@18 9dea7c4f-944c-4273-ac1a-574ede026edc
* handle wrong types passed to validate() more gracefullyArthur de Jong2010-07-271-1/+4
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@15 9dea7c4f-944c-4273-ac1a-574ede026edc
* spelling check an extra doctest and a simplificationArthur de Jong2010-07-251-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@6 9dea7c4f-944c-4273-ac1a-574ede026edc
* add an ISSN (International Standard Serial Number) moduleArthur de Jong2010-07-231-0/+57
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@4 9dea7c4f-944c-4273-ac1a-574ede026edc