libscrc
Library for calculating CRC3/CRC4/CRC8/CRC16/CRC24/CRC32/CRC64/CRC82
Decision gist · record as of 2026-08-14
Yes, if you need CRC calculation and can accept GPLv3+ licensing. The package is actively maintained, widely pre-compiled, and covers an unusually comprehensive set of CRC variants. Install friction is low for most modern Python environments. Not suitable for proprietary projects without a separate license agreement.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Medium install friction due to compiled wheels.
- The package is actively maintained with recent commits and has broad pre-built wheel coverage across Python 2.7 through 3.12 and multiple platforms (x86_64, ARM, Windows), reducing build requirements for most users.
License · maintenance · safety
copyleft license (copyleft) — Licensed under GPLv3+, a copyleft license. Any derivative work or distribution must also be open-source under compatible terms; proprietary projects cannot use this without obtaining an alternative license.
last release 2022-08-18 (1457 days) · last repo commit 2026-06-07 · 61 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 498,874 downloads/mo, #6,327 on PyPI
Alternatives
Verify before relying
pip install libscrc
import libscrc
crc16 = libscrc.modbus(b'1234')
crc16 = libscrc.xmodem(b'5678', crc16) # incremental- Whether the package is still actively maintained beyond the last release date (2022-08-18) given the 1457 days since release
- Performance characteristics and typical use cases for incremental CRC computation introduced in v1.4+
What it is and what it does
libscrc is a Python binding to a compiled CRC calculation library supporting a large range of CRC polynomial variants used in industrial protocols, telecommunications, and data integrity applications. It exposes individual functions for each CRC type (e.g., libscrc.modbus, libscrc.xmodem, libscrc.crc32) that accept byte strings or bytearrays and return integer checksums. The library supports both single-pass calculation and incremental computation, where a previous CRC result can be passed as a second argument to continue checksumming additional data.
The package is distributed as pre-compiled wheels for CPython 2.7 and 3.4–3.12 across Linux (x86_64, ARM, ARM64), macOS, Windows, and musl-based systems, minimizing compilation overhead on common platforms. It has no runtime dependencies beyond the Python standard library and wheel metadata.
Use it for
- Verify Modbus RTU protocol checksums in industrial automation and SCADA systems
- Calculate CRC16 or CRC32 for data transmission protocols like Xmodem or Zmodem
- Implement incremental CRC checksums for streaming or large file integrity checks
- Validate RFID EPC tags and other embedded system checksums
- Compute TCP/UDP pseudo-header checksums for network packet validation
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 GPLv3+ licensing.
The package is actively maintained, widely pre-compiled, and covers an unusually comprehensive set of CRC variants. Install friction is low for most modern Python environments. Not suitable for proprietary projects without a separate license agreement.
Install
libscrc on PyPI
Before you install
Medium install friction due to compiled wheels. The package is actively maintained with recent commits and has broad pre-built wheel coverage across Python 2.7 through 3.12 and multiple platforms (x86_64, ARM, Windows), reducing build requirements for most users.
License in practice
Licensed under GPLv3+, a copyleft license. Any derivative work or distribution must also be open-source under compatible terms; proprietary projects cannot use this without obtaining an alternative license.
Quickstart
pip install libscrc
import libscrc
crc16 = libscrc.modbus(b'1234')
crc16 = libscrc.xmodem(b'5678', crc16) # incremental
Verify before relying
- Whether the package is still actively maintained beyond the last release date (2022-08-18) given the 1457 days since release
- Performance characteristics and typical use cases for incremental CRC computation introduced in v1.4+
Package facts
| License | copyleft license copyleft |
| Python support | Not specified |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 1 packagewheel |
| Maintenance | Actively maintained 1,457 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 498,874 / month, #6,327 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 or later (GPLv3+)Programming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python Modules |
Evidence: libscrc-1.8.1-cp27-cp27m-macosx_12_0_x86_64.whl; libscrc-1.8.1-cp27-cp27mu-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; libscrc-1.8.1-cp27-cp27mu-manylinux_2_5_x86_64.manylinux1_x86_64.whl; libscrc-1.8.1-cp310-cp310-macosx_10_9_universal2.whl; libscrc-1.8.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; libscrc-1.8.1-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; libscrc-1.8.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl; libscrc-1.8.1-cp310-cp310-musllinux_1_2_x86_64.whl; libscrc-1.8.1-cp310-cp310-win32.whl; libscrc-1.8.1-cp310-cp310-win_amd64.whl; libscrc-1.8.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl; libscrc-1.8.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.whl; libscrc-1.8.1-cp34-cp34m-manylinux_2_5_x86_64.manylinux1_x86_64.whl; libscrc-1.8.1-cp34-cp34m-win32.whl; libscrc-1.8.1-cp34-cp34m-win_amd64.whl; libscrc-1.8.1-cp35-cp35m-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; libscrc-1.8.1-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl; libscrc-1.8.1-cp35-cp35m-win32.whl; libscrc-1.8.1-cp35-cp35m-win_amd64.whl; libscrc-1.8.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.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 › “modbus CRC checksum”
- libscrclibscrc provides a compiled library for calculating CRC checksums…
- crcCalculate, verify, and manage CRC checksums using predefined…
- crccheckCalculates CRC and checksum values from binary data using…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules 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.
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.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also fastcrc · crccheck · crc · crcengine · anycrc · crcmod · lpc-checksum · filehash · hexrec · deflate