CrcElk is an updated fork of the CrcMoose module for recent versions of Python. It provides a pure Python implementation of the CRC algorithm and allows for variants to easily be defined by providing their parameters such as width, starting polynomial, etc. Python versions 2.6+ and 3.1+ are supported.
Usage Example
>>> import crcelk
>>> import struct
>>> crc = crcelk.CRC_CCITT.calc_bytes(b'Hello World')
>>> print("{0} (0x{0:04x})".format(crc))
19749 (0x4d25)
License
CrcElk is released under the same MIT license as the original CrcMoose source. Details are available in the file header.
Release files for crcelk 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| crcelk-1.3.tar.gz | 7.8 kB | Details |
Release files / crcelk-1.3.tar.gz
| Download URL | crcelk-1.3.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e5f963d70d13318c67f4505aae8c39005a9f6a6d40bd9269de322b6e25a22a7
|
|
BLAKE2b-256 checksum How to use checksums |
c7f7690d62b4ba24d890fed9dd154fc715fb3e21a4d9009accb3f4203ab1cf91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|