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)

  • 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.4.tar.gz (41.6 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for python-stdnum-0.4.tar.gz
Algorithm Hash digest
SHA256 374aeaa4a36ec24ea48678465aabc3cc82f9658962e42e829bd09632abe73cf0
MD5 dab2a8600f4410d02c00c4f5616acb9f
BLAKE2b-256 9b66d5625208994748aebe55fa2667163f91174d0ab940a8e01dbb861cb326e2

See more details on using hashes here.

Supported by

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