Skip to main content

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

Tests

The test folder can be found here here

You can run the tests by running python tests.py

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.

Source Distribution

checkdigit-0.0.4.tar.gz (3.3 kB view hashes)

Uploaded Source

Supported by

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