skillfed

crccheck

Calculation library for CRCs and checksums

crccheck v1.3.1 2.2M downloads/30d#3,210 on PyPI20
Permissive license MIT AGING released

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 crccheck

uv

uv add crccheck

poetry

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 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/EngineeringTopic :: Software Development :: Embedded SystemsTopic :: Utilities

Tags

crc calculation librarychecksum computationbinary data integritycrc32 crc16 crc8embedded systems checksumsdata validation algorithms
crc-checksumdata-integrityembedded-systems

More Scientific/Engineering packages