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 package 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

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.6.tar.gz (72.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for python-stdnum-0.6.tar.gz
Algorithm Hash digest
SHA256 7061886cf33e72a4b2b6594e5455fa38e45ea586d719f334e097dfb4ae971eda
MD5 dca61638f8c9a6f1ff56225e873d0990
BLAKE2b-256 5fa7f5fcc4a450231f822ffe70ac8a47960f814594c19bed4073d017145d82fc

See more details on using hashes here.

Supported by

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