Skip to main content

Python module to handle standardized numbers and codes

Project description

A Python module to parse, validate and reformat standard numbers and codes in different formats.

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)
  • 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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-stdnum, version 0.5
Filename, size File type Python version Upload date Hashes
Filename, size python-stdnum-0.5.tar.gz (42.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page