Skip to content

πŸ”’ An easy-to-use check digit library for data validation

License

Notifications You must be signed in to change notification settings

harens/checkdigit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

efff9c6 Β· Dec 4, 2020

History

61 Commits
Dec 3, 2020
Nov 28, 2020
Jan 24, 2019
Dec 3, 2020
Dec 3, 2020
Nov 28, 2020
Nov 28, 2020
Nov 30, 2020
Jan 24, 2019
Jan 19, 2019
Dec 3, 2020
Dec 3, 2020
Dec 4, 2020
Dec 3, 2020

Repository files navigation

checkdigit

A check digit library for data validation.

Test Status GitHub Workflow Status Codecov
Version Info PyPI GitHub tag (latest by date) PyPI - Downloads
Code Analysis Code Climate maintainability CodeFactor Grade LGTM Grade

πŸ”¨ Installation

pip install checkdigit

Or download the project here.

✨ Features

  • Contains various functions relating to Luhn, ISBN, UPC and many other codes.
  • 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.