A check digit library for data validation
Project description
checkdigit
A check digit library for data validation.
Test Status | |
---|---|
Version Info | |
Code Analysis |
🔨 Installation
pip install checkdigit
Or download the project here.
✨ Features
- Contains various functions relating to Luhn, ISBN, UPC and many other codes.
- PEP 561 compatible, with built in support for type checking.
- Extensive in-code comments and docstrings to explain how the functions work.
- Written in pure Python with no dependencies required to run the program.
Check out the documentation for more details on how to use the library.
🏗️ Contributing
Any change, big or small, that you think can help improve this project is more than welcome 🎉.
As well as this, feel free to open an issue with any new suggestions or bug reports. Every contribution is valued.
For smaller tasks (that are still really appreciated 😃), be sure to check the good first issue tag.
💻 Setup
Clone the project and install the dev dependencies:
git clone https://github.com/harens/checkdigit
cd checkdigit
poetry install
If you want to send a PR, please run the following:
bash ./scripts/format.sh # Format files
bash ./scripts/tests.sh # Run tests
# NB shellcheck is not installed by poetry
shellcheck scripts/*.sh
📒 License
This project is licensed under GPL-3.0-or-later.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for checkdigit-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 632d3f4358bd0bb26b3cbad6e27dff42fa2a180ae6b3e2552a2b30421b746230 |
|
MD5 | 6530f84ae3acd738b086b0ba79e6b3a3 |
|
BLAKE2b-256 | 9e1cfc9fe88d4d9e579c7837ec03176ff403ad53c4d16d6767b664f1c7cb794d |