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.

Metadata

Release files for blake2b-py 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blake2b-py 0.4.0
File Size Uploaded Provenance Actions
blake2b_py-0.4.0.tar.gz 13.9 kB With provenance Details for blake2b_py-0.4.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for blake2b-py 0.4.0
File Actions
blake2b_py-0.4.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64 Details for blake2b_py-0.4.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
blake2b_py-0.4.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for blake2b_py-0.4.0-cp314-cp314-macosx_11_0_arm64.whl
blake2b_py-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details for blake2b_py-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
blake2b_py-0.4.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for blake2b_py-0.4.0-cp313-cp313-macosx_11_0_arm64.whl
blake2b_py-0.4.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for blake2b_py-0.4.0-cp312-cp312-win_amd64.whl
blake2b_py-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for blake2b_py-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
blake2b_py-0.4.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for blake2b_py-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
blake2b_py-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for blake2b_py-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
blake2b_py-0.4.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for blake2b_py-0.4.0-cp311-cp311-macosx_11_0_arm64.whl
blake2b_py-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for blake2b_py-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
blake2b_py-0.4.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for blake2b_py-0.4.0-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 2.2 MB

Release files / blake2b_py-0.4.0.tar.gz

Download URL blake2b_py-0.4.0.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
80fc4ad507fc8cafaac21ccb01678d0c0e450d35ab1b5ebf644866c5dba14617
BLAKE2b-256 checksum
How to use checksums
e10752b06fdcea2b2d1169151158c48400a46a9bf63e6493eb6906d040135453
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release files / blake2b_py-0.4.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL blake2b_py-0.4.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 214.4 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
160c6a7d4027c0d3a5a9de39a341e5f7945cc798fea633f7ef1bbe1ba8d1fb79
BLAKE2b-256 checksum
How to use checksums
627ffdd01d836cd4b49324e53a7f8e01286b440438944728eceaecd9f36dec69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release files / blake2b_py-0.4.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL blake2b_py-0.4.0-cp314-cp314-macosx_11_0_arm64.whl
Size 188.9 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
888afbb6f084465b5a1a3b293e98155cc7f30219e9471d44d3fbab249b19e107
BLAKE2b-256 checksum
How to use checksums
fa1da5d59ac10b3a562e4d8ba4734b8cd880ab1a600ddd94fb38e58022f1dec2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release files / blake2b_py-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL blake2b_py-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 213.9 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
de877419f57cd3ffd560ae2f54a74be270233ca912ab5ce90e850847e2d17f83
BLAKE2b-256 checksum
How to use checksums
b9abe212215eb2825fbe7a38e49a6215c794d2b48b67ac9b08df15347e1070a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release files / blake2b_py-0.4.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL blake2b_py-0.4.0-cp313-cp313-macosx_11_0_arm64.whl
Size 188.0 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
35a96a8a05c5a9e8408d464b8d27fc87a0965840333c9b14667834673e6709ee
BLAKE2b-256 checksum
How to use checksums
e399c5899ac0b6d04e018ed363417220b6371ad42531f12cbe61fe2c4dbf7655
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release files / blake2b_py-0.4.0-cp312-cp312-win_amd64.whl

Download URL blake2b_py-0.4.0-cp312-cp312-win_amd64.whl
Size 111.4 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
b5018b25e569bdb14daee6d3f0f40a1ede1c159c9d2012e9be58192c5c2b3851
BLAKE2b-256 checksum
How to use checksums
2623c5135b453ce5953a0dedc85dfc24a5a62cda5ab9fb9a365f3ec58112965b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release files / blake2b_py-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL blake2b_py-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 214.3 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a5f03fad614caf85df2ba3e226f11f425353f72fe985dcd8a273e4ab21091d2a
BLAKE2b-256 checksum
How to use checksums
282708e9c181e627ee1fdeb361f001da3ae41188b2742d2e6c15596ac75b9e90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release files / blake2b_py-0.4.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL blake2b_py-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
Size 188.4 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d3ffb908686ed67a6f2f4a7033214002b1a544054e25905aefca52a8f486df94
BLAKE2b-256 checksum
How to use checksums
6077e9702cf57d318a10c265a1f75399eed99a7eae5081d4b90207f5e02afebe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release files / blake2b_py-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL blake2b_py-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 217.1 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
6cece9d6e132c5e873c2ec55fb6663da5e993db5a0cb6c986ceafc3f6197ab01
BLAKE2b-256 checksum
How to use checksums
3c17f77493d1716e0155e042820ee53e6968c9a42938dcf9a68d8cb50dff6dc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release files / blake2b_py-0.4.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL blake2b_py-0.4.0-cp311-cp311-macosx_11_0_arm64.whl
Size 192.7 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
95cdc87c4247976db92662abf3a4148244c2586f24c08500ab6faca65571486b
BLAKE2b-256 checksum
How to use checksums
dfb29aac98f67f40adacc354d07e812bf4ea2306be124f230d8203b311d11af5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release files / blake2b_py-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL blake2b_py-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 216.8 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
09c8128216d1a2c1b9a7d39b6c1cfed03f930c8c7e88375945687dac444bb1e2
BLAKE2b-256 checksum
How to use checksums
6232c455048313497f4299ebebc31086fcedcc66e98ee213253c032570cc0419
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release files / blake2b_py-0.4.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL blake2b_py-0.4.0-cp310-cp310-macosx_11_0_arm64.whl
Size 192.7 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
898c38a6cc45c7c6fedf5528918ec1183f7884f48fb74f6c04144a9f9550ca35
BLAKE2b-256 checksum
How to use checksums
7228d02c7f328646facd817e0d187a79cbe0feb4106c6df86778a0eaff8274cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Security for blake2b-py 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 12 files in this release have been uploaded with provenance metadata.

Select from 12 files

Attestation for blake2b_py-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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