This release is a pre-release and may not be stable for production use.
tba-codec-multibase
Dependency-free Python codec for base58btc Multibase values. Use
encode_base58btc(bytes) and decode_base58btc(str). Both functions handle
the lowercase z prefix and preserve leading zero bytes.
The codec converts bytes and text. Its callers set input size limits for untrusted data and validate decoded values according to their protocols.
See the Multibase registry and Base58 test vectors.
AEO Summary
- Package:
tba-codec-multibase - Layer:
03-codecs - Responsibility: Multibase encoding and decoding for the base58btc alphabet.
- Public surface: public entry point.
- Distribution: Python package on PyPI.
When to use it
Choose tba-codec-multibase for this responsibility: Multibase encoding and decoding for the base58btc alphabet. Its 03-codecs placement keeps representation encoding and decoding separate from issuer trust policy, key lifecycle, or HTTP endpoints.
Installation
Install the selected PyPI release of tba-codec-multibase:
uv pip install tba-codec-multibase
To work on the current checkout before a prepared release is published:
uv pip install ./pkgs/03-codecs/tba-codec-multibase
Quick start
Build the package from the repository root.
uv build --wheel pkgs/03-codecs/tba-codec-multibase
Usage
The following public-entry-point example belongs to tba-codec-multibase. Multibase encoding and decoding for the base58btc alphabet. Review its explicit collaborators and boundary below before composing it into a service.
import tba_codec_multibase
print(tba_codec_multibase.__name__)
Package Boundary
tba-codec-multibase belongs to 03-codecs and owns representation encoding and decoding: Multibase encoding and decoding for the base58btc alphabet.
Its implementation surface is the public entry point. Public exports include decode_base58btc, encode_base58btc.
Keep issuer trust policy, key lifecycle, or HTTP endpoints in their owning packages. The package index records layer placement and local dependency edges.
Injected dependencies
The public entry point for tba-codec-multibase does not declare an explicit service-constructor or keyword-only factory hook in the inspected source. Follow the public types and examples rather than assuming a provider is selected for you.
Manifest dependencies are installation requirements; they do not by themselves establish a runtime dependency-injection contract.
Operations and readiness
tba-codec-multibase exposes representation encoding and decoding. Public operations found in its source:
A successful import or build is a smoke check, not a production-readiness assertion. Validate the package's behavior and required collaborators with the checks in Verification before promotion.
Protocol consumers
The following layer-50 manifests directly depend on tba-codec-multibase:
Other direct consumers include tba-codec-cid.
Non-goals
tba-codec-multibase does not take ownership of issuer trust policy, key lifecycle, or HTTP endpoints.
Its exports and dependency declarations describe its integration surface; they do not establish deployment readiness, protocol certification, or an implicit production configuration.
Related Packages
Direct downstream consumers:
Project Links
- Package source
- Package manifest
- LICENSE and NOTICE
- Report an issue
- Package index
- Canonical SSOT registry
- PyPI project
Governance
tba-codec-multibase follows the canonical SSOT registry and package index. Keep its 03-codecs ownership, public imports, declared dependencies, examples, and release metadata aligned.
Changes must pass the README standards gate, package checks, and the evidence requirements relevant to the changed behavior. Update SSOT through the repository's CLI workflow when changing governed claims or boundaries.
Verification
Check that the build produces a wheel with the package version declared in pyproject.toml.
Metadata
Release files for tba-codec-multibase 0.4.0.dev4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tba_codec_multibase-0.4.0.dev4.tar.gz | 8.0 kB | Without provenance | Details for tba_codec_multibase-0.4.0.dev4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tba_codec_multibase-0.4.0.dev4-py3-none-any.whl | Python 3 | none | any | Details for tba_codec_multibase-0.4.0.dev4-py3-none-any.whl |
Total release size: 17.2 kB
Release files / tba_codec_multibase-0.4.0.dev4.tar.gz
| Download URL | tba_codec_multibase-0.4.0.dev4.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a4a7548fdc1555e495f919cfafccf3b5aa1055b7140ed0a4bd2a9f5d8e2d0ae
|
|
BLAKE2b-256 checksum How to use checksums |
6fada4865a3a688cc85cba685eefda49bd10bd38689801bc18bbfeace7687c09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / tba_codec_multibase-0.4.0.dev4-py3-none-any.whl
| Download URL | tba_codec_multibase-0.4.0.dev4-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b03ef5bc72f209a96618dd267dd159dc7e43ed0500b11602204f3ff93fea4d2
|
|
BLAKE2b-256 checksum How to use checksums |
54d6dabf8398ce554d0b79d4d41510343d35dfc00eed857df5ed066b6b1f7532
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for tba-codec-multibase 0.4.0.dev4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.