--- id: crccheck version: "1.3.1" license: MIT license_treatment: permissive maintenance: aging --- # crccheck — Calculation library for CRCs and checksums License: permissive · Maintenance: aging · Downloads: 2.2M/mo ## 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 above — 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 pip install crccheck uv add crccheck poetry add crccheck ## Installing 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: unspecified - Install friction: low - Maintenance: aging - Downloads: 2.2M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags crc calculation library, checksum computation, binary data integrity, crc32 crc16 crc8, embedded systems checksums, data validation algorithms, crc-checksum, data-integrity, embedded-systems [View on SkillFed](https://skillfed.io/packages/crccheck) · [View on PyPI](https://pypi.org/project/crccheck/)