$npx skillfedfor your agent

py-multihash

Multihash implementation in Python

With conditionsPyPI CryptographyReleased Dec 2025162.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — py_multihash-3.0.0-py3-none-any.whl
v3.0.0 · released 2025-12-17 · Python <4.0,>=3.10 · 6 runtime deps: varint, six, morphys, base58, blake3, mmh3

Yes, with conditions. The package is permissively licensed, has low install friction, and supports current Python versions. However, its Pre-Alpha status and aging maintenance (240 days since last release, last commit 2026-01-05) mean it is not actively developed. Install if you need multihash interoperability or Go-compatible hash APIs; avoid if you require active maintenance or stability guarantees.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later (supports up to 3.14).
  • Low install friction with six runtime dependencies delivered as a pure-Python wheel.
  • Maintenance status is aging—last commit was 2026-01-05 and the latest release 240 days old—but the repository remains active and unarchived with 945 stars.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and poses no restrictions on use, modification, or redistribution in commercial or private projects.

last release 2025-12-17 (240 days) · last repo commit 2026-01-05 · 945 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 162,401 downloads/mo, #10,606 on PyPI

Verify before relying

pip install py-multihash

from multihash import digest, sum, Func

mh = digest(b"hello world", "blake3")
mh = sum(b"hello world", Func.sha2_256)
print(mh.encode('hex'))
  • Whether the 125+ hash functions claim includes all variants (e.g., BLAKE2b digest sizes 8-512 bits) or counts them separately.
  • Performance characteristics of streaming hash computation for large files relative to standard library hashlib.
  • Compatibility guarantees with the Go multihash reference implementation beyond the API surface.
Same gist for agents: .md · .json

What it is and what it does

py-multihash is a Python implementation of the multihash specification, a self-describing hash digest format that encodes both the hash function used and the digest itself. It wraps support for 125+ hash functions—including cryptographic algorithms (SHA-1, SHA-2, SHA-3, BLAKE2, BLAKE3), variable-length hashes (SHAKE-128/256), and non-cryptographic options (MurmurHash3)—behind a unified interface. The package provides streaming computation for large files, hash truncation, JSON serialization, and a Go-compatible API (sum, digest, verify methods).

Typical use cases include content-addressed storage systems, distributed systems that need portable hash identification, and applications requiring interoperability with Go-based multihash implementations. The package depends on six runtime libraries: varint, six, morphys, base58, blake3, and mmh3. It is maintained as a Pre-Alpha project but has been in development since 2018 and remains actively used.

Use it for

  • Content-addressed storage or IPFS-like systems where hash function identity must be encoded alongside the digest.
  • Distributed systems needing portable, self-describing hash formats for cross-language compatibility.
  • Applications requiring fast non-cryptographic hashing via MurmurHash3 or cryptographic hashing via BLAKE3.
  • Systems that need to serialize and deserialize hashes in JSON or hex format with function metadata preserved.
  • Streaming hash computation over large files without loading entire contents into memory.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

The package is permissively licensed, has low install friction, and supports current Python versions. However, its Pre-Alpha status and aging maintenance (240 days since last release, last commit 2026-01-05) mean it is not actively developed. Install if you need multihash interoperability or Go-compatible hash APIs; avoid if you require active maintenance or stability guarantees.

Install

py-multihash on PyPI

Before you install

Low install friction with six runtime dependencies delivered as a pure-Python wheel. Maintenance status is aging—last commit was 2026-01-05 and the latest release 240 days old—but the repository remains active and unarchived with 945 stars.

Requires Python 3.10 or later (supports up to 3.14).

License in practice

MIT license is permissive and poses no restrictions on use, modification, or redistribution in commercial or private projects.

Quickstart

pip install py-multihash

from multihash import digest, sum, Func

mh = digest(b"hello world", "blake3")
mh = sum(b"hello world", Func.sha2_256)
print(mh.encode('hex'))

Verify before relying

  • Whether the 125+ hash functions claim includes all variants (e.g., BLAKE2b digest sizes 8-512 bits) or counts them separately.
  • Performance characteristics of streaming hash computation for large files relative to standard library hashlib.
  • Compatibility guarantees with the Go multihash reference implementation beyond the API surface.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
varintsixmorphysbase58blake3mmh3
MaintenanceAging 240 days since the last release
Last repo commit
First released
Downloads162,401 / month, #10,606 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: py_multihash-3.0.0-py3-none-any.whl

Tags

Capabilities
multihash encoding decodinghash function wrapperblake3 sha256 hashingcryptographic hash librarymultihash digest pythonhash serialization formatstreaming hash computation
Topics
multihashcontent-addressinghash-serialization
PyPI keywords
multihash

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 › “multihash encoding decoding”

  • py-multihashEncodes and decodes multihash digests, supporting 125+ hash functions…
  • py-cidpy-cid encodes and decodes CIDs (Content IDentifiers), the…
  • libipldlibipld provides fast Python bindings to a Rust IPLD library for…

Give your agent the search over MCP, or paste the wish link into any chat.

More Cryptography packages

certifi Worth it
PyPI · Cryptography · released Jul 2026

Certifi provides Mozilla's curated collection of root SSL certificates for Python applications to validate TLS hosts and verify certificate trustworthiness.

MPL-2.0pure Python · 3.7+
1.9Bdownloads / mo
cryptography Worth it
PyPI · Cryptography · released Jul 2026

cryptography provides cryptographic recipes and low-level primitives for symmetric encryption, message digests, key derivation, and other common cryptographic algorithms in Python.

Apache-2.0 OR BSD-3-Clausecompiled wheel
1.5Bdownloads / mo
rsa Skip
PyPI · Cryptography · released Apr 2025

Pure-Python RSA encryption, decryption, signing, and key generation following PKCS#1 v1.5, with command-line and library interfaces.

Apache-2.0pure Pythonabandoned
299.6Mdownloads / mo
pyOpenSSL With conditions
PyPI · Python Modules · released Aug 2026

pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.

Apache-2.0pure Python · 3.9+
294.2Mdownloads / mo
azure-identity Worth it
PyPI · Cryptography · released Mar 2026

Provides Microsoft Entra ID token-based authentication for Azure SDK clients through a set of TokenCredential implementations that handle OAuth flows and managed identity support.

license unclearpure Python · 3.9+
247.2Mdownloads / mo
PyNaCl Worth it
PyPI · Cryptography · released Jan 2026

PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.

Apache-2.0compiled wheel · 3.8+
246.6Mdownloads / mo

See also blake3 · mmhash3 · filehash · xxhash · bbhash · murmurhash · pysha3 · mmh3 · murmurhash2 · safe-pysha3