A python package exposing the Intel SSE4.2 CRC32C instruction
Project description
This package exposes to Python the crc32c algorithm implemented in the SSE 4.2 instruction set of Intel CPUs.
Because crc32c is in PyPI, you can install it with:
pip install crc32c
Supported platforms are Linux and OSX using the gcc and clang compilers, and Windows using the Visual Studio compiler. Other compilers in Windows (MinGW for instance) might work.
Implementation details
By default, if your CPU doesn’t support this instruction, the package will fail to load with an ImportError. If you still need to use the crc32c checksum algorithm this package comes with a software implementation that can be loaded instead. For that set the CRC32C_SW_MODE environment variable to one of the following values:
auto: use software implementation if no CPU hardware support is found.
force: use software implementation regardless of CPU hardware support.
1: like force, but will eventually be discontinued.
Both the hardware- and software-based algorithms are based on Mark Adler’s code, with some modifications required to make the code more portable and fit for inclusion within this python package.
Copyright
This package is copyrighted:
ICRAR - International Centre for Radio Astronomy Research (c) UWA - The University of Western Australia, 2017 Copyright by UWA (in the framework of the ICRAR)
The original crc32c algorithms, both software and hardware, are copyrighted by:
Copyright (C) 2013 Mark Adler
License
This package is licensed under the LGPL-2.1 license.
The original crc32c algorithm’s code, both software and hardware, are licensed under the BSD 3-clause license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file crc32c-1.7.tar.gz
.
File metadata
- Download URL: crc32c-1.7.tar.gz
- Upload date:
- Size: 24.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/32.3.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdcd28f26b62838919480d465a0d166207a36c4f104102a0b6edf5b498544d36 |
|
MD5 | 9d799f4c836c003eb7fe23545c78e9f6 |
|
BLAKE2b-256 | 1581e9e896894cebabb168713496262b704355162f6843eeb0623e3da7c02348 |
Provenance
File details
Details for the file crc32c-1.7-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: crc32c-1.7-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 27.3 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/32.3.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cef8a8468b84c0ee5a147ed183cc0b325e46490689c7264155294469a09a063e |
|
MD5 | ff5b5853453c64741d0a99f59967c095 |
|
BLAKE2b-256 | 0fc0170b6aeebb047d92235325333e546364d223226e795b7f2f686dc36b0bf9 |
Provenance
File details
Details for the file crc32c-1.7-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: crc32c-1.7-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 25.7 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e391b288f1636d2d5014265bcea9b5c4e6ce6c721a3ae217521873640b6dade5 |
|
MD5 | 7f67d50c4b84e3c60dfe6f821c300068 |
|
BLAKE2b-256 | 85d2a220d1d992053d16558baf540c2ad9847f9a165b74fd281787903b46251b |
Provenance
File details
Details for the file crc32c-1.7-cp37-cp37m-macosx_10_6_intel.whl
.
File metadata
- Download URL: crc32c-1.7-cp37-cp37m-macosx_10_6_intel.whl
- Upload date:
- Size: 24.8 kB
- Tags: CPython 3.7m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95bc7b8deeebcce8e2d81713c0324960b3172eff1bb4ac99ae553c552e16c275 |
|
MD5 | 4b8641f841c6a161254ea0ab8671dbda |
|
BLAKE2b-256 | 3024dd3284a745dde844914cace5995669848282bf7fbc0a7c5dce37f64e72cf |
Provenance
File details
Details for the file crc32c-1.7-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: crc32c-1.7-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 27.3 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/32.3.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 792f833c98bf353c47f78ae90eb6bc56808cad3b7e264351e61160166e10d65f |
|
MD5 | 712d4ccfb435d971f0b48f5a65d9e327 |
|
BLAKE2b-256 | 06fc2d315e3fe7d47395c6448aa56910236ea94c306262641678a1e90e76bbe1 |
Provenance
File details
Details for the file crc32c-1.7-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: crc32c-1.7-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 25.7 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 798583bac348de61d0f843533b9ba166bb2e02fe207a399e5c93972e638dd09a |
|
MD5 | 74b33fbf10404d467146fa8011118351 |
|
BLAKE2b-256 | 657f4b4dc07c8fdd391c5bdf2e91d495bcfe9d8976ce7deb3439c6007c9c3625 |
Provenance
File details
Details for the file crc32c-1.7-cp36-cp36m-macosx_10_6_intel.whl
.
File metadata
- Download URL: crc32c-1.7-cp36-cp36m-macosx_10_6_intel.whl
- Upload date:
- Size: 24.8 kB
- Tags: CPython 3.6m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cf317df65a10ea6bfc4897a52ad741bbf2575ad75976760b4307a6754b951fc |
|
MD5 | 6de118cb9e83be3a4dec99c99ed118a2 |
|
BLAKE2b-256 | dc6c598ca06777c95f21a62ca0834a43d5501813328b4b801e6877668e103213 |
Provenance
File details
Details for the file crc32c-1.7-cp35-cp35m-win_amd64.whl
.
File metadata
- Download URL: crc32c-1.7-cp35-cp35m-win_amd64.whl
- Upload date:
- Size: 27.3 kB
- Tags: CPython 3.5m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/32.3.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18ed10aa056185f18a4170617d02f8d51fe3f11abbb5d3acc168e63db142433c |
|
MD5 | 404fe46d28306ed683bd09712c8acf27 |
|
BLAKE2b-256 | eb969050154760b755934f25d9b3241afd0551452d4f0f93d8ed5a86f583541d |
Provenance
File details
Details for the file crc32c-1.7-cp35-cp35m-win32.whl
.
File metadata
- Download URL: crc32c-1.7-cp35-cp35m-win32.whl
- Upload date:
- Size: 26.5 kB
- Tags: CPython 3.5m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/32.3.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d06f592fd0083556eb4ab8fd8b70db3c863798f8cc01638e6a22887d9b276a82 |
|
MD5 | 8fe48170c507c2ea0884da41a459654b |
|
BLAKE2b-256 | fda23a884575d625a2af38eb1de13d2499ddaf5043187f6f91d17236c71f44b7 |
Provenance
File details
Details for the file crc32c-1.7-cp35-cp35m-manylinux1_x86_64.whl
.
File metadata
- Download URL: crc32c-1.7-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 25.7 kB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd6cdc1ce0d8b9f28927b9374890990f82c23411b04fcd819a645c3174f48102 |
|
MD5 | b04ce524c59eabf06d0db25a9d220b58 |
|
BLAKE2b-256 | 0aef08d73e945d1579e1bcbc38927a3bb44a82d8c07dc0ad931806a97a69569c |
Provenance
File details
Details for the file crc32c-1.7-cp35-cp35m-macosx_10_6_intel.whl
.
File metadata
- Download URL: crc32c-1.7-cp35-cp35m-macosx_10_6_intel.whl
- Upload date:
- Size: 24.8 kB
- Tags: CPython 3.5m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 647c80beec1aaab2bd83fcc182b39f39561a3e1f10620af61276a8863fbc77f5 |
|
MD5 | 71efb2cd86cff73916aa3bb79b137add |
|
BLAKE2b-256 | 1a56bdd3a04e29ff9427b903d72cf6579adbe5a979cbdcdf67f842a315765994 |
Provenance
File details
Details for the file crc32c-1.7-cp34-cp34m-win_amd64.whl
.
File metadata
- Download URL: crc32c-1.7-cp34-cp34m-win_amd64.whl
- Upload date:
- Size: 25.0 kB
- Tags: CPython 3.4m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/32.3.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 785bbd4c7705d1ba238db3b3710a66454a5b519285d57f6e0a53fccd2e2012f0 |
|
MD5 | 3a4e6832fda6f1ba98616382646c0812 |
|
BLAKE2b-256 | fc67709e92c65e0017eb03dee63e8438a03826c3bd17431fcf8b0c644a94f3e1 |
Provenance
File details
Details for the file crc32c-1.7-cp34-cp34m-win32.whl
.
File metadata
- Download URL: crc32c-1.7-cp34-cp34m-win32.whl
- Upload date:
- Size: 25.4 kB
- Tags: CPython 3.4m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/32.3.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31789bf5bc50e4516035e9ff47637cf3b911041eac5a9cc0087e77cc364276b9 |
|
MD5 | 4d7c3d43418f52e9db487447ff72bad2 |
|
BLAKE2b-256 | 76033efd4b0aa68c2728835dfd95c903de78fe07d9119adc06e9bfd09c7c0ae2 |
Provenance
File details
Details for the file crc32c-1.7-cp34-cp34m-manylinux1_x86_64.whl
.
File metadata
- Download URL: crc32c-1.7-cp34-cp34m-manylinux1_x86_64.whl
- Upload date:
- Size: 25.5 kB
- Tags: CPython 3.4m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c17c8449e3bd9deb3f249707207a2f267543f727e7d46dfeb047a37fcae657e |
|
MD5 | 82759c31e065acfeb44909ee54935d10 |
|
BLAKE2b-256 | db28ed576316428de24f603c43cc3c82a0b6fac76d402a65b1f1aeb8ee9f95b4 |
Provenance
File details
Details for the file crc32c-1.7-cp34-cp34m-macosx_10_6_intel.whl
.
File metadata
- Download URL: crc32c-1.7-cp34-cp34m-macosx_10_6_intel.whl
- Upload date:
- Size: 24.8 kB
- Tags: CPython 3.4m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a559976bd14e91ea9eb8e009fdebe64bbfa8b6672ec188d4250a2d5acfd3d804 |
|
MD5 | d0ea493d244b6088c1274a2cb330b61e |
|
BLAKE2b-256 | a2f2d850e839c780c3e487dc9b52c78d0ec888fc423c65fc2d2d2055613e181f |
Provenance
File details
Details for the file crc32c-1.7-cp33-none-win32.whl
.
File metadata
- Download URL: crc32c-1.7-cp33-none-win32.whl
- Upload date:
- Size: 17.8 kB
- Tags: CPython 3.3, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/32.3.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79db4fefad51d678607cc5447dc8031d7c8086cd109d0497556a6c20c6914f02 |
|
MD5 | 39b07a05c5160170dbcbaafc5f56b1f0 |
|
BLAKE2b-256 | f6ba96c1863aa0a044f1bef269cd8382425a18b5d986291648e2f6782256e302 |
Provenance
File details
Details for the file crc32c-1.7-cp33-cp33m-win_amd64.whl
.
File metadata
- Download URL: crc32c-1.7-cp33-cp33m-win_amd64.whl
- Upload date:
- Size: 17.3 kB
- Tags: CPython 3.3m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/32.3.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d71a2e5baf4c2bc67184d6185b468485dcf776c885d65dd63ec6e0fbe428bafc |
|
MD5 | df99bb26cd1ee875d8e042bb73d6c4a3 |
|
BLAKE2b-256 | 0dbea296a923ba4542658845bf086bf9906dc2bb46f7d2634cfee5bdb8a53bae |
Provenance
File details
Details for the file crc32c-1.7-cp27-cp27mu-manylinux1_x86_64.whl
.
File metadata
- Download URL: crc32c-1.7-cp27-cp27mu-manylinux1_x86_64.whl
- Upload date:
- Size: 25.6 kB
- Tags: CPython 2.7mu
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b112188f5660209b64e32712d75f776f853cbc46cb63377013fc0a926d6a715e |
|
MD5 | d88c3d57bc6a8b9c6d49b208c6da5904 |
|
BLAKE2b-256 | 44f6bd6e137ba57204954987b0fb73b0de84d4e91c164ef561f8d117b61fd466 |
Provenance
File details
Details for the file crc32c-1.7-cp27-cp27m-win_amd64.whl
.
File metadata
- Download URL: crc32c-1.7-cp27-cp27m-win_amd64.whl
- Upload date:
- Size: 25.0 kB
- Tags: CPython 2.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/32.3.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e14e4ced8baa45d98b98e055f2ef2aaed68e5b9a89b74da1deff47a0842fdf25 |
|
MD5 | d2281a53ee149c9a504e4d9fa4bfbafb |
|
BLAKE2b-256 | cfcc4198b899101dc43e9492eb48790e49c49a5d3258b876950efcb0fa8648ce |
Provenance
File details
Details for the file crc32c-1.7-cp27-cp27m-win32.whl
.
File metadata
- Download URL: crc32c-1.7-cp27-cp27m-win32.whl
- Upload date:
- Size: 25.5 kB
- Tags: CPython 2.7m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/32.3.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5b5929ca50b7a5e347de12966993a92c0e112c7c18c19c50c21460efb52dc9f |
|
MD5 | eb41fc6303f3ea1db45d575ae1e13cf1 |
|
BLAKE2b-256 | b2658a9eb3ec6dabc5771d1666b8312319518bbaeda004d8424528f5c5888f92 |
Provenance
File details
Details for the file crc32c-1.7-cp27-cp27m-manylinux1_x86_64.whl
.
File metadata
- Download URL: crc32c-1.7-cp27-cp27m-manylinux1_x86_64.whl
- Upload date:
- Size: 25.6 kB
- Tags: CPython 2.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7c092a47924999515a10351a372c0d4d39df960353846e46e922b95cde7ba84 |
|
MD5 | de28d47988116b9cb2c07a76bdad5660 |
|
BLAKE2b-256 | ad494593976db50d985020b2a2861dc051d62ac8d9e36415b4bf4be88ecfe9ab |
Provenance
File details
Details for the file crc32c-1.7-cp27-cp27m-macosx_10_6_intel.whl
.
File metadata
- Download URL: crc32c-1.7-cp27-cp27m-macosx_10_6_intel.whl
- Upload date:
- Size: 24.7 kB
- Tags: CPython 2.7m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c399c20892d1ea30377bcfc596b44995785d0f52793745db7b26f91e03c8d91c |
|
MD5 | 32d4c3ce236584241c4e8bdf7693e922 |
|
BLAKE2b-256 | a7de7292bc2948a3b59bd544fdfb966c9305e84a4db2fc910ca140fe8d323381 |