
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
.. image:: https://raw.githubusercontent.com/harens/checkdigit/master/art/logo.png :alt: checkdigit logo :target: https://github.com/harens/checkdigit :align: center
|
.. image:: https://img.shields.io/github/actions/workflow/status/harens/checkdigit/test.yml?logo=github&style=flat-square :alt: GitHub Tests status :target: https://github.com/harens/checkdigit/actions
.. image:: https://img.shields.io/codecov/c/github/harens/checkdigit?logo=codecov&style=flat-square :alt: Codecov :target: https://app.codecov.io/gh/harens/checkdigit
.. image:: https://img.shields.io/pypi/dm/checkdigit?logo=python&logoColor=white&style=flat-square :alt: PyPi - Downloads :target: https://pepy.tech/project/checkdigit
.. image:: https://img.shields.io/codefactor/grade/github/harens/checkdigit?logo=codefactor&style=flat-square :alt: CodeFactor Grade :target: https://www.codefactor.io/repository/github/harens/checkdigit/
=========
.. image:: https://repology.org/badge/vertical-allrepos/python:checkdigit.svg :alt: checkdigit repology :target: https://repology.org/project/python:checkdigit/versions :align: right
checkdigit is a pure Python library built for identification numbers. You want to validate a credit card number, or maybe even calculate a missing digit on an ISBN code? We've got you covered 😎.
Want to know more? Check out the API Reference and documentation <https://checkdigit.readthedocs.io/en/latest/reference.html>
_!
MacPorts <https://ports.macports.org/port/py-checkdigit/summary>
_ 🍎
.. code-block::
sudo port install py-checkdigit
PyPi <https://pypi.org/project/checkdigit/>
_ 🐍
.. code-block::
pip install checkdigit
supported Python versions <https://endoflife.date/python>
_ (3.7-3.11).PEP 561 compatible <https://www.python.org/dev/peps/pep-0561>
_, with built in support for type checking.Even/Odd binary parity <https://checkdigit.readthedocs.io/en/latest/_autosummary/checkdigit.parity.html#module-checkdigit.parity>
_CRC <https://checkdigit.readthedocs.io/en/latest/_autosummary/checkdigit.crc.html#module-checkdigit.crc>
_GS1 Standards <https://checkdigit.readthedocs.io/en/latest/_autosummary/checkdigit.gs1.html#module-checkdigit.gs1>
_
ISBN-10/13 <https://checkdigit.readthedocs.io/en/latest/_autosummary/checkdigit.isbn.html#module-checkdigit.isbn>
_Luhn <https://checkdigit.readthedocs.io/en/latest/_autosummary/checkdigit.luhn.html#module-checkdigit.luhn>
_Verhoeff <https://checkdigit.readthedocs.io/en/latest/_autosummary/checkdigit.verhoeff.html#module-checkdigit.verhoeff>
_For each of these formats, we provide functions to validate them and calculate missing digits.
Do you have any formats that you'd like to see supported? 🤔 Feel free to raise an issue, or even to send a pull request!
<https://checkdigit.rtfd.io/en/latest/contributing.html>
_<https://github.com/harens/checkdigit/issues>
_<https://github.com/harens/checkdigit>
_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 appreciated.
To find out more, please read our contributing page <https://checkdigit.readthedocs.io/en/latest/contributing.html>
_. Thank you!
This project is licensed under GPL-3.0-or-later <https://github.com/harens/checkdigit/blob/master/LICENSE>
_.
FAQs
A check digit library for data validation
We found that checkdigit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.