skip to navigation
skip to content

idstring 1.0.3

a class for compact alpha-numeric serial numbers with a check digit

an IDstring is a string-like object which can be incremented, to produce a series of serial-number-like strings, consisting of Arabic digits and upper case letters, skipping those which can be easily misinterpreted (“oh”, “I”, “Q”, and Zed) and which has a Luhn-N check digit, capable of detecting any single-letter error and most other errors.

Programmers may define alternate alphabets, alternate lists of “dirty” words (which are skipped), a fixed subfield for generating serial number from multiple sources, and a hash code to create unique check digits algorithms for multiple projects.

The class will also perform generic binary to alpha conversions in your alphabet (base-32 for the default).

File Type Py Version Uploaded on Size
idstring-1.0.3.tar.gz (md5) Source 2013-11-16 9KB