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.

Source Distribution

python-stdnum-0.5.tar.gz (42.5 kB view details)

Uploaded Source

File details

Details for the file python-stdnum-0.5.tar.gz.

File metadata

  • Download URL: python-stdnum-0.5.tar.gz
  • Upload date:
  • Size: 42.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-stdnum-0.5.tar.gz
Algorithm Hash digest
SHA256 fb698d07eaf049fc0e256c829374f2b2e1d7c7ecaf394238b4317326d0b22a91
MD5 735d80b0ae1f0849dca06e13ada938a9
BLAKE2b-256 ae27c694e8667b941135e2542d24e5df339df82cd413a3831cc223ca814738e8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page