Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Checking digits with a digit!

Project description


Travis build status Latest PyPi release version number PyPi format Current state (Alpha/Beta/Stable etc.) Supported Python versions

Checking digits with a digit!

Sample Parity Sample UPC

Sample ISBN Sample Luhn


pip install checkdigit

Or download the project here


  • Add a parity digit to a string of binary
  • ISBN
    • Validates both ISBN-10 and ISBN-13 Codes
    • Determines Missing Digits
    • Calculates Check Digits
  • UPC
    • Evaluates Check Digits
    • Validates UPC Codes
  • Luhn
    • Validates Credit Cards, IMEI Numbers, and more!
    • Determines Check Digits
    • Calculate Missing Digits


The test folder can be found here here

You can run the tests by running python

Here is an example output:

Example Tests


This project is licensed under the GNU General Public License v3.0

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
checkdigit-0.0.6.tar.gz (3.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page