smithy-aws-checksums 0.1.1


pip install smithy-aws-checksums

  Latest version

Released: Nov 13, 2026


Meta
Author: Amazon Web Services
Requires Python: >=3.12

Classifiers

Development Status
  • 2 - Pre-Alpha

Intended Audience
  • Developers
  • System Administrators

Natural Language
  • English

License
  • OSI Approved :: Apache Software License

Operating System
  • OS Independent

Programming Language
  • Python
  • Python :: 3 :: Only
  • Python :: 3
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14
  • Python :: 3.15
  • Python :: Implementation :: CPython
  • Python :: Free Threading :: 2 - Beta
  • Rust

Topic
  • Software Development :: Libraries

smithy-aws-checksums

This package provides the checksum algorithms used by Smithy clients: CRC32, CRC32C, CRC64NVME, XXHash64, XXHash3, XXHash128, and, through new(), SHA-1, SHA-256, SHA-512, and MD5.

import smithy_aws_checksums

checksum = smithy_aws_checksums.new("CRC32C")
checksum.update(b"hello world")
checksum.digest()

Native acceleration

The CRC and XXHash algorithms are implemented in Rust and published as wheels for common platforms. Where no wheel is available, the package installs as pure Python and produces identical results, much more slowly. HAS_NATIVE_EXTENSION reports which implementation is in use. CRC32 always uses zlib in pure Python, and the SHA and MD5 algorithms always use hashlib.

Building

Wheels are built with maturin when cargo is on the PATH, and as pure Python when no Rust toolchain is installed. If Rust is installed but can't build the extension, for example because it's older than the rust-version in Cargo.toml, the build fails with instructions instead of silently falling back.

Set SMITHY_PYTHON_NATIVE_BUILD to never to build a pure-Python wheel, or to always to require the native extension even when cargo isn't on the PATH.

Wheel compatibility matrix

Platform CPython >=3.12 (abi3) CPython 3.15 (abi3t) CPython >=3.15 (abi3) CPython (additional flags: t) 3.14 Python 3
any
macosx_10_12_x86_64
macosx_11_0_arm64
manylinux2014_aarch64
manylinux2014_x86_64
manylinux_2_17_aarch64
manylinux_2_17_x86_64
musllinux_1_2_aarch64
musllinux_1_2_x86_64

Files in release

smithy_aws_checksums-0.1.1-cp312-abi3-macosx_10_12_x86_64.whl (867.6KiB)
smithy_aws_checksums-0.1.1-cp312-abi3-macosx_11_0_arm64.whl (250.3KiB)
smithy_aws_checksums-0.1.1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (854.2KiB)
smithy_aws_checksums-0.1.1-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (864.9KiB)
smithy_aws_checksums-0.1.1-cp312-abi3-musllinux_1_2_aarch64.whl (853.0KiB)
smithy_aws_checksums-0.1.1-cp312-abi3-musllinux_1_2_x86_64.whl (863.6KiB)
smithy_aws_checksums-0.1.1-cp314-cp314t-macosx_10_12_x86_64.whl (867.6KiB)
smithy_aws_checksums-0.1.1-cp314-cp314t-macosx_11_0_arm64.whl (249.9KiB)
smithy_aws_checksums-0.1.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (854.3KiB)
smithy_aws_checksums-0.1.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (864.9KiB)
smithy_aws_checksums-0.1.1-cp314-cp314t-musllinux_1_2_aarch64.whl (853.1KiB)
smithy_aws_checksums-0.1.1-cp314-cp314t-musllinux_1_2_x86_64.whl (863.6KiB)
smithy_aws_checksums-0.1.1-cp315-abi3.abi3t-macosx_10_12_x86_64.whl (875.4KiB)
smithy_aws_checksums-0.1.1-cp315-abi3.abi3t-macosx_11_0_arm64.whl (257.3KiB)
smithy_aws_checksums-0.1.1-cp315-abi3.abi3t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (860.4KiB)
smithy_aws_checksums-0.1.1-cp315-abi3.abi3t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (871.1KiB)
smithy_aws_checksums-0.1.1-cp315-abi3.abi3t-musllinux_1_2_aarch64.whl (859.1KiB)
smithy_aws_checksums-0.1.1-cp315-abi3.abi3t-musllinux_1_2_x86_64.whl (869.8KiB)
smithy_aws_checksums-0.1.1-py3-none-any.whl (23.1KiB)
smithy_aws_checksums-0.1.1.tar.gz (24.5KiB)
No dependencies