Skip to main content

blake2b-py

Blake2b hashing in Rust with Python bindings.

Developing

Install dependencies and build the Python extension in a virtual environment:

UV_CACHE_DIR=/tmp/uv-cache uv run --group test maturin develop

Run the test suites:

UV_CACHE_DIR=/tmp/uv-cache uv run --group test pytest
PYO3_PYTHON=.venv/bin/python cargo test test_

The slow EIP-152 vector can be run explicitly:

PYO3_PYTHON=.venv/bin/python cargo test --release test_f_eip_152_vec_8 -- --ignored --nocapture

Rust benchmarks use unstable Rust benchmark support and require nightly:

PYO3_PYTHON=.venv/bin/python cargo +nightly bench --features nightly-benches

You may need to specify the MACOSX_DEPLOYMENT_TARGET environment variable to your version of macOS.

Building and Releasing

Build local artifacts with maturin:

UV_CACHE_DIR=/tmp/uv-cache uv run --group build maturin build --release

The committed package version in Cargo.toml is intentionally the invalid release sentinel 0.0.0. Create a GitHub release with a semantic-version tag such as v0.5.0; the publish workflow validates the tag and replaces the sentinel before Maturin builds the wheels and source distribution. A local build retains the sentinel version and must not be published.

PyPI must be configured to trust the ApeWorX/blake2b-py GitHub repository and the .github/workflows/publish.yaml workflow before the release job can publish.

Download files

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

Source Distribution

blake2b_py-0.4.0.tar.gz (13.9 kB view details)

Uploaded Source

Built Distributions

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

blake2b_py-0.4.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (214.4 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

blake2b_py-0.4.0-cp314-cp314-macosx_11_0_arm64.whl (188.9 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

blake2b_py-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (213.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

blake2b_py-0.4.0-cp313-cp313-macosx_11_0_arm64.whl (188.0 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

blake2b_py-0.4.0-cp312-cp312-win_amd64.whl (111.4 kB view details)

Uploaded CPython 3.12Windows x86-64

blake2b_py-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (214.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

blake2b_py-0.4.0-cp312-cp312-macosx_11_0_arm64.whl (188.4 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

blake2b_py-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (217.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

blake2b_py-0.4.0-cp311-cp311-macosx_11_0_arm64.whl (192.7 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

blake2b_py-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (216.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

blake2b_py-0.4.0-cp310-cp310-macosx_11_0_arm64.whl (192.7 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file blake2b_py-0.4.0.tar.gz.

File metadata

  • Download URL: blake2b_py-0.4.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for blake2b_py-0.4.0.tar.gz
Algorithm Hash digest
SHA256 80fc4ad507fc8cafaac21ccb01678d0c0e450d35ab1b5ebf644866c5dba14617
MD5 b4766d7885323b76116ee011d40169d3
BLAKE2b-256 e10752b06fdcea2b2d1169151158c48400a46a9bf63e6493eb6906d040135453

See more details on using hashes here.

Provenance

The following attestation bundles were made for blake2b_py-0.4.0.tar.gz:

Publisher: publish.yaml on ApeWorX/blake2b-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blake2b_py-0.4.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for blake2b_py-0.4.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 160c6a7d4027c0d3a5a9de39a341e5f7945cc798fea633f7ef1bbe1ba8d1fb79
MD5 6ec0f92c1fb49687de5733a7c6cdbf5a
BLAKE2b-256 627ffdd01d836cd4b49324e53a7f8e01286b440438944728eceaecd9f36dec69

See more details on using hashes here.

Provenance

The following attestation bundles were made for blake2b_py-0.4.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yaml on ApeWorX/blake2b-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blake2b_py-0.4.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for blake2b_py-0.4.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 888afbb6f084465b5a1a3b293e98155cc7f30219e9471d44d3fbab249b19e107
MD5 4183769edfdaeeee1b60f7f3b04584d0
BLAKE2b-256 fa1da5d59ac10b3a562e4d8ba4734b8cd880ab1a600ddd94fb38e58022f1dec2

See more details on using hashes here.

Provenance

The following attestation bundles were made for blake2b_py-0.4.0-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: publish.yaml on ApeWorX/blake2b-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blake2b_py-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for blake2b_py-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 de877419f57cd3ffd560ae2f54a74be270233ca912ab5ce90e850847e2d17f83
MD5 a1ded21a49c7ffd80f7ef477cece9559
BLAKE2b-256 b9abe212215eb2825fbe7a38e49a6215c794d2b48b67ac9b08df15347e1070a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for blake2b_py-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yaml on ApeWorX/blake2b-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blake2b_py-0.4.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for blake2b_py-0.4.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 35a96a8a05c5a9e8408d464b8d27fc87a0965840333c9b14667834673e6709ee
MD5 c39df7e022b86331f4c32a3ed579feb7
BLAKE2b-256 e399c5899ac0b6d04e018ed363417220b6371ad42531f12cbe61fe2c4dbf7655

See more details on using hashes here.

Provenance

The following attestation bundles were made for blake2b_py-0.4.0-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish.yaml on ApeWorX/blake2b-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blake2b_py-0.4.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: blake2b_py-0.4.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 111.4 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for blake2b_py-0.4.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b5018b25e569bdb14daee6d3f0f40a1ede1c159c9d2012e9be58192c5c2b3851
MD5 1a8c6f94aa822bf3419e209464f30856
BLAKE2b-256 2623c5135b453ce5953a0dedc85dfc24a5a62cda5ab9fb9a365f3ec58112965b

See more details on using hashes here.

Provenance

The following attestation bundles were made for blake2b_py-0.4.0-cp312-cp312-win_amd64.whl:

Publisher: publish.yaml on ApeWorX/blake2b-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blake2b_py-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for blake2b_py-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a5f03fad614caf85df2ba3e226f11f425353f72fe985dcd8a273e4ab21091d2a
MD5 3c4d95fd4849238888b66198838b75d7
BLAKE2b-256 282708e9c181e627ee1fdeb361f001da3ae41188b2742d2e6c15596ac75b9e90

See more details on using hashes here.

Provenance

The following attestation bundles were made for blake2b_py-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yaml on ApeWorX/blake2b-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blake2b_py-0.4.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for blake2b_py-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d3ffb908686ed67a6f2f4a7033214002b1a544054e25905aefca52a8f486df94
MD5 b09a0bb54ee91ccaf0e7c7db753bbbc1
BLAKE2b-256 6077e9702cf57d318a10c265a1f75399eed99a7eae5081d4b90207f5e02afebe

See more details on using hashes here.

Provenance

The following attestation bundles were made for blake2b_py-0.4.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yaml on ApeWorX/blake2b-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blake2b_py-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for blake2b_py-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6cece9d6e132c5e873c2ec55fb6663da5e993db5a0cb6c986ceafc3f6197ab01
MD5 b4111b1cacbe6e37a99030cc987df38a
BLAKE2b-256 3c17f77493d1716e0155e042820ee53e6968c9a42938dcf9a68d8cb50dff6dc5

See more details on using hashes here.

Provenance

The following attestation bundles were made for blake2b_py-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yaml on ApeWorX/blake2b-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blake2b_py-0.4.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for blake2b_py-0.4.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 95cdc87c4247976db92662abf3a4148244c2586f24c08500ab6faca65571486b
MD5 28a9524e29f5f4ab4ec9c78ad324a5a1
BLAKE2b-256 dfb29aac98f67f40adacc354d07e812bf4ea2306be124f230d8203b311d11af5

See more details on using hashes here.

Provenance

The following attestation bundles were made for blake2b_py-0.4.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish.yaml on ApeWorX/blake2b-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blake2b_py-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for blake2b_py-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 09c8128216d1a2c1b9a7d39b6c1cfed03f930c8c7e88375945687dac444bb1e2
MD5 00dcf417d52c32552c0d38c10c1f99e8
BLAKE2b-256 6232c455048313497f4299ebebc31086fcedcc66e98ee213253c032570cc0419

See more details on using hashes here.

Provenance

The following attestation bundles were made for blake2b_py-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yaml on ApeWorX/blake2b-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blake2b_py-0.4.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for blake2b_py-0.4.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 898c38a6cc45c7c6fedf5528918ec1183f7884f48fb74f6c04144a9f9550ca35
MD5 562cfb2f13e2cf6c4f0815f157aced32
BLAKE2b-256 7228d02c7f328646facd817e0d187a79cbe0feb4106c6df86778a0eaff8274cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for blake2b_py-0.4.0-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: publish.yaml on ApeWorX/blake2b-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.4.0 This release

12 files

0.3.2

19 files

0.3.1

18 files

0.3.0

15 files

0.2.2

16 files

0.2.0

15 files

0.1.4

12 files

0.1.3

10 files

0.1.2

5 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page