CRCSet
aims to provide crc
implementation for python.
With the integrated WASI
and WASM
modules, this package eliminates the hassle of platform-specific compilations. Simply install the package and start using it. The package initially utilizes the wasmer
runtime for execution, but in the case it's not available, it provides a reliable fallback option with pywasm
, a pure Python-based WASM
runtime.
- Install the library:
pip install crcset
- Use it:
from crcset import crc32c, crc16xmodem print(crc32c(b"testing-crc32c")) # 4017753803 print(crc16xmodem(b"testing-crc16-xmodem")) # 26763