This is a Python library that aims to provide functions to handle, parse and validate standard numbers. Currently this module supports the following formats:
- ISBN (International Standard Book Number)
- ISSN (International Standard Serial Number)
- ISMN (International Standard Music Number)
- ISAN (International Standard Audiovisual Number)
- EAN (International Article Number)
- BSN (Burgerservicenummer, the Dutch national identification number)
- CPF (Cadastro de Pessoas Físicas, the Brazillian national identification number)
- SSN (U.S. Social Security Number)
- IMEI (International Mobile Equipment Identity)
- IMSI (International Mobile Subscriber Identity)
- MEID (Mobile Equipment Identifier)
- GRid (Global Release Identifier)
- IBAN (International Bank Account Number)
- ISIL (International Standard Identifier for Libraries and Related Organizations)
Furthermore a number of generic check digit algorithms are available:
- the Verhoeff algorithm
- the Luhn and Luhn mod N algorithms
- some algorithms described in ISO/IEC 7064: Mod 11, 2, Mod 37, 2, Mod 97, 10, Mod 11, 10 and Mod 37, 36
Feedback and support for other numbers is more than welcome. Please use the python-stdnum-users mailing list.
Download
- 0.6 2011-09-30
python-stdnum-0.6.tar.gz (71k) [sig] [asc] [md5] - 0.5 2011-07-09
python-stdnum-0.5.tar.gz (42k) [sig] [asc] [md5] - 0.4 2011-02-06
python-stdnum-0.4.tar.gz (41k) [sig] [md5] - 0.3 2010-09-11
python-stdnum-0.3.tar.gz (31k) [sig] [asc] [md5] - 0.2 2010-08-16
python-stdnum-0.2.tar.gz (20k) [sig] [md5] - 0.1 2010-07-25
python-stdnum-0.1.tar.gz (18k) [sig] [md5]
Trac instance
A trac instance has been set up. Users are encouraged to request new formats by creating a ticket or contributing to the wiki.
Mailing lists
The following mailing lists are available for the project. Subscription is open to anyone and online archives are available for each list.
- python-stdnum-announce
- This mailing list is intended for anyone who wishes to keep up-to-date with new releases, security advisories and any other important news regarding python-stdnum. This is a moderated, very low traffic mailing list.
- python-stdnum-commits
- This is a subscription-only mailing list that carries all the commit messages from the Subversion repository.
- python-stdnum-users
- This a general discussion mailing list for the project. Please use this list for any issues or questions regarding python-stdnum. Anyone can post to this list but non-member posts are moderated.
Subversion repository
The python-stdnum development repository is available through svn (read-only) with
http://arthurdejong.org/svn/python-stdnum/
The repository is also browsable through viewvc at
http://arthurdejong.org/viewvc/python-stdnum/
Copyright Notice
Copyright © 2010-2011 Arthur de Jong
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU Lesser General Public License for more details.
A copy of the GNU Lesser General Public License is available in the download and can be found on the World Wide Web at http://www.gnu.org/licenses/lgpl.html. You can also obtain it by writing to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.