blake3
Python bindings for the Rust blake3 crate
Decision gist · record as of 2026-08-14
Yes. blake3 is a well-maintained, actively developed cryptographic library with no known vulnerabilities, permissive licensing, and broad platform support via precompiled wheels. Install it if you need modern hashing with keyed or key-derivation modes; the medium install friction is acceptable for most environments since binary wheels are available. Not necessary if standard hashing suffices.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later.
- If a binary wheel is unavailable for your platform, you will need the Rust toolchain installed to build from source.
- Medium install friction due to compiled Rust bindings, but binary wheels are available for most environments.
License · maintenance · safety
CC0-1.0 OR Apache-2.0 (permissive) — Dual-licensed under CC0-1.0 or Apache-2.0, both permissive. You may use, modify, and distribute freely under either license with minimal restrictions.
last release 2026-06-22 (53 days) · last repo commit 2026-08-01 · 201 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 20,934,450 downloads/mo, #1,021 on PyPI
Alternatives
Verify before relying
pip install blake3
from blake3 import blake3
hash_digest = blake3(b"foobarbaz").digest()
hasher = blake3()
hasher.update(b"foo")
hasher.update(b"bar")
print(hasher.hexdigest())- Performance characteristics and throughput compared to other hashing libraries in typical workloads.
- Specific multithreading performance thresholds and platform-specific behavior beyond the ~1 MB guidance mentioned.
- Compatibility and interoperability with other BLAKE3 implementations across different languages.
What it is and what it does
blake3 is a Python wrapper around the official Rust implementation of BLAKE3, a modern cryptographic hash function. It provides a hashlib-compatible API while exposing BLAKE3-specific features like keyed hashing (message authentication), key derivation with context strings, and variable-length output. The package supports both incremental hashing (feeding data in chunks) and batch hashing, with optional multithreading for large inputs and memory-mapped file hashing.
The bindings are built with PyO3 and distributed as compiled wheels for most Python versions and platforms, so installation typically does not require a Rust compiler. It depends only on typing-extensions at runtime. The package is actively maintained, carries no known security vulnerabilities, and is licensed permissively under CC0-1.0 or Apache-2.0.
Use it for
- Computing fast cryptographic hashes for file integrity checks and deduplication systems.
- Implementing message authentication codes using keyed hashing mode with a shared secret.
- Deriving application-specific keys from master key material using the key derivation mode.
- Hashing large files or datasets with automatic multithreading for improved throughput.
- Building content-addressable storage systems that require variable-length hash outputs.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
blake3 is a well-maintained, actively developed cryptographic library with no known vulnerabilities, permissive licensing, and broad platform support via precompiled wheels. Install it if you need modern hashing with keyed or key-derivation modes; the medium install friction is acceptable for most environments since binary wheels are available. Not necessary if standard hashing suffices.
Install
blake3 on PyPI
Before you install
Medium install friction due to compiled Rust bindings, but binary wheels are available for most environments. Active maintenance with recent releases; no known vulnerabilities.
Requires Python 3.8 or later. If a binary wheel is unavailable for your platform, you will need the Rust toolchain installed to build from source.
License in practice
Dual-licensed under CC0-1.0 or Apache-2.0, both permissive. You may use, modify, and distribute freely under either license with minimal restrictions.
Quickstart
pip install blake3
from blake3 import blake3
hash_digest = blake3(b"foobarbaz").digest()
hasher = blake3()
hasher.update(b"foo")
hasher.update(b"bar")
print(hasher.hexdigest())
Verify before relying
- Performance characteristics and throughput compared to other hashing libraries in typical workloads.
- Specific multithreading performance thresholds and platform-specific behavior beyond the ~1 MB guidance mentioned.
- Compatibility and interoperability with other BLAKE3 implementations across different languages.
Package facts
| License | CC0-1.0 OR Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 1 packagetyping-extensions |
| Maintenance | Actively maintained 53 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 20,934,450 / month, #1,021 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: Free ThreadingProgramming Language :: RustTopic :: SecurityTopic :: Security :: CryptographyTopic :: Utilities |
Evidence: blake3-1.0.9-cp310-cp310-macosx_10_12_x86_64.whl; blake3-1.0.9-cp310-cp310-macosx_11_0_arm64.whl; blake3-1.0.9-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; blake3-1.0.9-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; blake3-1.0.9-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl; blake3-1.0.9-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; blake3-1.0.9-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl; blake3-1.0.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; blake3-1.0.9-cp310-cp310-manylinux_2_31_riscv64.whl; blake3-1.0.9-cp310-cp310-musllinux_1_1_aarch64.whl; blake3-1.0.9-cp310-cp310-musllinux_1_1_x86_64.whl; blake3-1.0.9-cp310-cp310-win32.whl; blake3-1.0.9-cp310-cp310-win_amd64.whl; blake3-1.0.9-cp311-cp311-macosx_10_12_x86_64.whl; blake3-1.0.9-cp311-cp311-macosx_11_0_arm64.whl; blake3-1.0.9-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; blake3-1.0.9-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; blake3-1.0.9-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl; blake3-1.0.9-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; blake3-1.0.9-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “blake3 hash function”
- blake3Python bindings for the BLAKE3 cryptographic hash function, exposing…
- py-multihashEncodes and decodes multihash digests, supporting 125+ hash functions…
- mmh3mmh3 is a Python binding to MurmurHash3, a fast non-cryptographic…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also py-multihash · xxhash · murmurhash · rpds-py · poseidon-py · siphash · clickhouse-cityhash · siphashc · pyfarmhash · bcrypt