Skip to main content

A hyper-fast Python module for computing CRC(16, 32, 64) checksum

Project description

Read the Docs PyPI Python - Version

A hyper-fast Python module for computing CRC(16, 32, 64) checksum.

Installation

pip install fastcrc

Usage

from fastcrc import crc16, crc32, crc64

data = b"123456789"
print(f"crc16 checksum with xmodem algorithm: {crc16.xmodem(data)}")
print(f"crc32 checksum with aixm algorithm: {crc32.aixm(data)}")
print(f"crc64 checksum with ecma_182 algorithm: {crc64.ecma_182(data)}")

Documentation

fastcrc’s documentation can be found at https://fastcrc.readthedocs.io

License

fastcrc is licensed under MIT License.

Thanks

fastcrc is made possible by crc-rs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastcrc-0.2.1.dev3.tar.gz (17.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

fastcrc-0.2.1.dev3-cp39-none-win_amd64.whl (155.8 kB view details)

Uploaded CPython 3.9Windows x86-64

fastcrc-0.2.1.dev3-cp39-cp39-macosx_10_7_x86_64.whl (259.1 kB view details)

Uploaded CPython 3.9macOS 10.7+ x86-64

fastcrc-0.2.1.dev3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.5+ x86-64

File details

Details for the file fastcrc-0.2.1.dev3.tar.gz.

File metadata

  • Download URL: fastcrc-0.2.1.dev3.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.13.2

File hashes

Hashes for fastcrc-0.2.1.dev3.tar.gz
Algorithm Hash digest
SHA256 d071d12eb23699d0cd9fcdcd810d111f78a12de43d33440b7561d0a2706d2c2b
MD5 4a0847ebffc74b49a7086a14e0de8421
BLAKE2b-256 33b0c68a91f3df9bf5a8cc1c07e800f3f73c1e8c03d71dbc9d93b741fba76fb9

See more details on using hashes here.

File details

Details for the file fastcrc-0.2.1.dev3-cp39-none-win_amd64.whl.

File metadata

File hashes

Hashes for fastcrc-0.2.1.dev3-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 0f7c1c6b49a942114b6e352736e675973eb90ac3530385fe63deea97c77c812b
MD5 0ba60932d0143a770515380f2785f7b0
BLAKE2b-256 5163b4264037a9fbc1c3474ebab166752ac05029916cac0dc0581d61721469f4

See more details on using hashes here.

File details

Details for the file fastcrc-0.2.1.dev3-cp39-cp39-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for fastcrc-0.2.1.dev3-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 099447a1cf5c2362217e292e6516c1a2d017264d9e0a6f78a6d02f1c4d507c3f
MD5 3aafe0bc20e6b4e9525fb92160c3da39
BLAKE2b-256 4a99022017cd02f94da22ddc95766b154c7d1e3a2a2ab23c01c770c0d8a3ba7b

See more details on using hashes here.

File details

Details for the file fastcrc-0.2.1.dev3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for fastcrc-0.2.1.dev3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7370b695982a55b2cddc71c4ac92ec3da4252dd2fb7ba504124dc9816e3c0f2d
MD5 1296c0288ea9f942b66c72fa448c9634
BLAKE2b-256 f7368147b4e08b83ef497eaa078e50dd65f75faa5c7ee1b4a046ae04ea2036d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page