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
The test folder can be found here here
You can run the tests by running python tests.py
Here is an example output:
This project is licensed under the GNU General Public License v3.0