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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file checkdigit-0.1.2.tar.gz.
File metadata
- Download URL: checkdigit-0.1.2.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.9 Darwin/20.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ecfae4cf0520b7a196c51dd5a38a74c97fe6397530a31d8c3044e78f3943339
|
|
| MD5 |
a144ada9357978f19314b4170aad398e
|
|
| BLAKE2b-256 |
d9c8e8409cfad5833d8896398e0cf911ba231ee0048111c2382651c8340319e7
|
File details
Details for the file checkdigit-0.1.2-py3-none-any.whl.
File metadata
- Download URL: checkdigit-0.1.2-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.9 Darwin/20.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
632d3f4358bd0bb26b3cbad6e27dff42fa2a180ae6b3e2552a2b30421b746230
|
|
| MD5 |
6530f84ae3acd738b086b0ba79e6b3a3
|
|
| BLAKE2b-256 |
9e1cfc9fe88d4d9e579c7837ec03176ff403ad53c4d16d6767b664f1c7cb794d
|