Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Checking digits with a digit!

Project description

checkdigit

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

Installation

pip install checkdigit

Or download the project here

Features

  • 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

Tests

The test folder can be found here here

You can run the tests by running python tests.py

Here is an example output:

Example Tests

License

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.

Files for checkdigit, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size checkdigit-0.0.6.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page