crcengine
A library for CRC calculation and code generation
Decision gist · record as of 2026-08-14
Yes, if you need CRC calculation and can accept dormant maintenance. The library is stable for its narrow scope (CRC math is well-defined), has no known vulnerabilities, low install friction, and works on modern Python versions. However, maintenance is dormant; use it for non-critical checksums or where you can fork if needed. GPL-3.0-only copyleft is a hard blocker for proprietary closed-source projects.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with only two runtime dependencies (importlib-metadata, jinja2).
- Maintenance is dormant—last release was in April 2023 and last commit in February 2024—so expect no active bug fixes or feature updates.
License · maintenance · safety
GPL-3.0-only (copyleft) — Licensed under GPL-3.0-only (copyleft). Any derivative work or bundled distribution must also be open-source under GPL-3.0; proprietary projects cannot use this library without separate licensing.
last release 2023-04-16 (1216 days) · last repo commit 2024-02-21 · 9 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 114,626 downloads/mo, #12,286 on PyPI
Alternatives
Verify before relying
pip install crcengine
import crcengine
crc_algorithm = crcengine.new('crc32-bzip2')
result = crc_algorithm(b'123456789')
print(f'CRC=0x{result:08x}')- Whether dormant maintenance affects real-world reliability for production checksum use cases.
- Performance characteristics of table-based vs. bit-bashing implementations for large data volumes.
- Compatibility of generated C code with modern toolchains and embedded platforms.
What it is and what it does
CrcEngine is a Python library for computing cyclic redundancy checks (CRCs) using either pre-computed lookup tables or bit-by-bit algorithms. It ships with built-in support for common CRC variants (CRC8, CRC16, CRC32, CRC64) across different polynomial definitions and reflection modes, and allows you to define custom CRC algorithms by specifying polynomial, initial value, and output transformation parameters.
Beyond runtime calculation, the library can generate standalone C code for a given CRC algorithm, intended as a middle ground between size and speed for embedded systems—useful when you need to verify checksums in C without runtime table generation. The library depends on jinja2 for code templating and importlib-metadata for package introspection.
Use it for
- Verify data integrity in network protocols or file formats that use standard CRC checksums like CRC32.
- Implement custom CRC algorithms for proprietary or domain-specific checksum schemes by defining polynomial parameters.
- Generate optimized C code for CRC validation in embedded firmware or performance-critical C applications.
- Cross-validate checksums between Python and C implementations by using the same algorithm parameters.
- Build data transmission or storage systems that need fast, deterministic checksum computation.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need CRC calculation and can accept dormant maintenance.
The library is stable for its narrow scope (CRC math is well-defined), has no known vulnerabilities, low install friction, and works on modern Python versions. However, maintenance is dormant; use it for non-critical checksums or where you can fork if needed. GPL-3.0-only copyleft is a hard blocker for proprietary closed-source projects.
Install
crcengine on PyPI
Before you install
Low install friction with only two runtime dependencies (importlib-metadata, jinja2). Maintenance is dormant—last release was in April 2023 and last commit in February 2024—so expect no active bug fixes or feature updates.
License in practice
Licensed under GPL-3.0-only (copyleft). Any derivative work or bundled distribution must also be open-source under GPL-3.0; proprietary projects cannot use this library without separate licensing.
Quickstart
pip install crcengine
import crcengine
crc_algorithm = crcengine.new('crc32-bzip2')
result = crc_algorithm(b'123456789')
print(f'CRC=0x{result:08x}')
Verify before relying
- Whether dormant maintenance affects real-world reliability for production checksum use cases.
- Performance characteristics of table-based vs. bit-bashing implementations for large data volumes.
- Compatibility of generated C code with modern toolchains and embedded platforms.
Package facts
| License | GPL-3.0-only copyleft |
| Python support | Supports the current Python release >=3.7.2,<4.0.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesimportlib-metadatajinja2 |
| Maintenance | Dormant 1,216 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 114,626 / month, #12,286 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: GNU General Public License v3 (GPLv3)Natural Language :: EnglishProgramming Language :: CProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: CommunicationsTopic :: System :: NetworkingTopic :: Utilities |
Evidence: crcengine-0.4.0.post1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “CRC32 CRC16 implementation”
- crcengineCrcEngine provides table-based and bit-bashing CRC calculation with…
- crcCalculate, verify, and manage CRC checksums using predefined…
- libscrclibscrc provides a compiled library for calculating CRC checksums…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also crc · crcmod · fastcrc · libscrc · crccheck · anycrc · crc32c · luhn · google-crc32c