py-multibase
Multibase implementation for Python
Decision gist · record as of 2026-08-14
Yes, if you need to work with the Multibase protocol or interchange data across systems with different base-encoding requirements. The package is actively maintained, has low install friction, and carries a permissive MIT license. The Pre-Alpha status and modest popularity suggest it is stable enough for production use in its domain but may not be widely battle-tested; verify that the three runtime dependencies suit your environment.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with three lightweight runtime dependencies.
- Actively maintained as of July 2026, though marked Pre-Alpha in development status.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
last release 2025-12-18 (239 days) · last repo commit 2026-07-13 · 25 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 180,845 downloads/mo, #10,138 on PyPI
Alternatives
Verify before relying
pip install py-multibase
from multibase import encode, decode
encoded = encode('base58btc', 'hello world')
decoded = decode(encoded)
print(decoded) # b'hello world'- Performance characteristics when encoding/decoding large datasets or many small values.
- Whether the three runtime dependencies (python-baseconv, six, morphys) are actively maintained.
What it is and what it does
py-multibase is a Python implementation of the Multibase protocol, a standard for encoding data into strings while embedding metadata about which base encoding was used. Instead of requiring the decoder to guess or be told separately what encoding was applied, Multibase prepends a single-character code that identifies the base (e.g., 'z' for base58btc, 'm' for base64), making the encoded value self-describing. This solves the problem of coordinating base-encoding choices across systems and transports that have different restrictions or requirements.
The package provides both simple functional APIs (encode/decode) and reusable Encoder/Decoder classes, plus utilities to query supported encodings and retrieve encoding metadata. It supports a wide range of bases from binary (base2) through base256emoji, making it useful for applications that need to interchange data across systems with varying transport constraints or human-readability requirements.
Use it for
- Encode data for transmission over systems with restricted character sets, letting the receiver auto-detect which base was used.
- Build APIs or protocols where the encoding scheme must be self-evident in the output without separate metadata.
- Convert between multiple base encodings (base58, base64, base32, etc.) while preserving encoding information.
- Store or log encoded data in a format that remains unambiguous when decoded by other tools or languages.
- Implement content-addressable systems (like IPFS) that rely on multibase for consistent encoding across nodes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to work with the Multibase protocol or interchange data across systems with different base-encoding requirements.
The package is actively maintained, has low install friction, and carries a permissive MIT license. The Pre-Alpha status and modest popularity suggest it is stable enough for production use in its domain but may not be widely battle-tested; verify that the three runtime dependencies suit your environment.
Install
py-multibase on PyPI
Before you install
Low install friction with three lightweight runtime dependencies. Actively maintained as of July 2026, though marked Pre-Alpha in development status.
Requires Python 3.10 or later.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install py-multibase
from multibase import encode, decode
encoded = encode('base58btc', 'hello world')
decoded = decode(encoded)
print(decoded) # b'hello world'
Verify before relying
- Performance characteristics when encoding/decoding large datasets or many small values.
- Whether the three runtime dependencies (python-baseconv, six, morphys) are actively maintained.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagespython-baseconvsixmorphys |
| Maintenance | Actively maintained 239 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 180,845 / month, #10,138 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural 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_multibase-2.0.0-py3-none-any.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 › “base encoding protocol”
- py-multibaseEncodes and decodes data using the Multibase protocol, which adds a…
- pamqppamqp encodes and decodes AMQP 0-9-1 protocol frames for use by…
- graphql-server-coreGraphQL-Server-Core provides base utilities and helper functions for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also bases · py-multicodec · python-baseconv · unpaddedbase64 · bencode.py · mbstrdecoder · java-manifest · base64io · py-cid · pybase64