checkdigitΒΆ

An easy-to-use check digit library for data validation.

This Python library contains various functions relating to Luhn, ISBN, UPC and many other codes. It is able to validate blocks of data, as well as calculate missing digits and check digits.

For more information, please look at the wiki page for this library: https://checkdigit.rtfd.io/

checkdigit.crc

Cyclic Redundancy Check.

checkdigit.gs1

Global Standards One.

checkdigit.isbn

International Standard Book Number.

checkdigit.luhn

Luhn Validation Functions.

checkdigit.parity

Parity Validation Functions.

checkdigit.verhoeff

The first check digit algorithm to detect all transposition and single digit errors.