crccheck
Calculation library for CRCs and checksums
What it is and what it does
crccheck is a pure-Python library for computing cyclic redundancy checks (CRCs) and checksums on binary data. It implements all CRC variants from the Catalogue of parametrised CRC algorithms, including CRC-3 through CRC-82 in various standard forms (CRC-32/MPEG-2, CRC-16/MODBUS, CRC-8/AUTOSAR, etc.), plus additive and XOR checksums in 8, 16, and 32-bit widths. You instantiate a CRC class by name (e.g., Crc32, CrcXmodem) or use the general Crc class with custom parameters, then call calc() for one-shot computation or process() to accumulate results across multiple data buffers before calling final(), finalbytes(), or finalhex().
The library is designed for embedded systems, protocol implementations, and data-integrity validation where standard CRC algorithms are required. It has no external dependencies and runs on Python 3.7 through 3.13, making it portable across modern Python environments. The API is straightforward: pass binary data (bytes, bytearray, or iterables of integers) and retrieve the result in integer, hex, or byte form.
Use it for:
- Validate data integrity in embedded device communication protocols (e.g., CAN bus, Modbus, Bluetooth LE)
- Compute checksums for file transfer or storage systems to detect corruption
- Implement CRC checks in custom binary protocols or firmware update mechanisms
- Verify data packets in IoT or sensor networks using standard CRC variants
- Generate checksums for configuration or firmware images in embedded applications
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Calculates CRC and checksum values from binary data using parametrized algorithms from the CRC catalogue, supporting dozens of standard CRC variants and additive/XOR checksums.
Yes. crccheck is a stable, dependency-free library for a well-defined task (standard CRC and checksum computation). It supports a comprehensive set of algorithms, has no security vulnerabilities, and carries a permissive MIT license. The aging maintenance status (400 days since last release) is not a blocker for a mature, narrow-scope library—it suggests the code is stable rather than abandoned. Install it if you need standard CRC calculations; avoid it only if you require active feature development or real-time performance guarantees.
Install
crccheck on PyPI
pip
pip install crccheckuv
uv add crccheckpoetry
poetry add crccheckInstalling crccheck
Before you install
Low install friction; pure Python wheel with no runtime dependencies. Maintenance status is aging—last release was 400 days ago, though the repository remains active with a recent commit on 2025-07-10.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and proprietary projects.
Quickstart
pip install crccheck
from crccheck.crc import Crc32
data = bytearray.fromhex("DEADBEEF")
crc_value = Crc32.calc(data)
print(hex(crc_value))
Verify before relying
- Whether the package is actively maintained or in maintenance-only mode going forward
- Performance characteristics for large-scale data processing or real-time applications
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | aging — 400 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,207,546/month — #3,210 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: crccheck-1.3.1-py3-none-any.whl
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
crcCalculate, verify, and manage CRC checksums…
permissive · top 5,000 on PyPI
libscrclibscrc provides a compiled library for…
copyleft · top 15,000 on PyPI
fastcrcfastcrc computes CRC checksums (8, 16, 32, and…
permissive · top 5,000 on PyPI
anycrcCalculates CRC hashes of arbitrary bit widths…
permissive · top 15,000 on PyPI
crcmodComputes Cyclic Redundancy Check (CRC) values…
permissive · top 5,000 on PyPI
crcengineCrcEngine provides table-based and bit-bashing…
copyleft · top 15,000 on PyPI
lpc-checksumCalculates LPC firmware checksums for embedded…
permissive · top 15,000 on PyPI
hexrecLoads, edits, and saves hexadecimal record…
permissive · top 15,000 on PyPI
cchecksumProvides a C-accelerated implementation of…
permissive · top 15,000 on PyPI
filehashCalculates and verifies file checksums and…
permissive · top 15,000 on PyPI