fastbase91
A fast basE91 binary-to-text codec: a
no_std, #![forbid(unsafe_code)] Rust core (fastbase91-core) with a
PyO3-based Python binding (fastbase91).
basE91 packs binary data into 91 printable ASCII characters, giving roughly 23% size overhead — noticeably tighter than base64's ~33%.
Features
- Fast — a tight Rust core; on GIL-enabled CPython, one-shot
encode()/decode()calls with inputs of at least 1 KiB release the GIL so calls can overlap. - Safe —
#![forbid(unsafe_code)]throughout the core. - Portable —
no_stdcore (optionalalloc/std); runs on bare metal. - Streaming — incremental
Encoder/Decoderfor data that does not fit in memory at once. - Free-threaded ready — the Python extension declares
gil_used = falseand ships free-threaded wheels (CPython 3.14t / 3.15t). - Stable-ABI wheels — one abi3 wheel per platform covers GIL-enabled
CPython 3.11+; free-threaded 3.14 has its own wheel, and CPython 3.15+
(regular or free-threaded) can use a combined
abi3/abi3twheel.
Install
Rust:
cargo add fastbase91-core
Python:
pip install fastbase91 # or: uv add fastbase91
Usage
Rust:
use fastbase91_core::{encode, decode, DecodeOptions};
let encoded = encode(b"hello").unwrap(); // -> b"TPwJh>A"
let decoded = decode(&encoded, DecodeOptions::default()).unwrap();
assert_eq!(decoded, b"hello");
Python:
import fastbase91
encoded = fastbase91.encode(b"hello") # -> b"TPwJh>A"
assert fastbase91.decode(encoded) == b"hello"
Documentation
Full documentation (English / 正體中文), including usage, installation and platform compatibility, API reference, free-threading, benchmarks, and a changelog: https://birdhackor.github.io/fastbase91/
Versioning
The Rust core and the Python package are released on two independent version
lines: fastbase91-core on crates.io
via fastbase91-core-vX.Y.Z tags, and fastbase91 wheels on
PyPI via vX.Y.Z tags. See
MAINTENANCE.md
for the release runbook.
License
Licensed under either of MIT or Apache-2.0 at your option.
Metadata
Release files for fastbase91 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fastbase91-0.1.3.tar.gz | 39.5 kB | Details |
Built distributions (wheels)
Total release size: 2.2 MB
Release files / fastbase91-0.1.3.tar.gz
| Download URL | fastbase91-0.1.3.tar.gz |
|---|---|
| Size | 39.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
607f072a32bd4018d93a960853330afdf8a2be76a908924e21e18e8e75c23130
|
|
BLAKE2b-256 checksum How to use checksums |
a7229bbde161a053a751f0cc637edf8e3c3e1a04e36fdfeeb01b06960d7a97bf
|
| 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 Oct 2, 2026.
Transparency logRelease files / fastbase91-0.1.3-cp315-abi3.abi3t-win_amd64.whl
| Download URL | fastbase91-0.1.3-cp315-abi3.abi3t-win_amd64.whl |
|---|---|
| Size | 160.4 kB |
| Tags | CPython 3.15 Windows x86-64 abi3 abi3t |
|
SHA-256 checksum How to use checksums |
ac6ab46b5903dd61e130728c9e88f0e7d0878cbbf435a7dc1e8e7e79943f829c
|
|
BLAKE2b-256 checksum How to use checksums |
972ca77c7d968458614e4dd2be9af736adf6a2918153b29e5e86421994fec797
|
| 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 Oct 2, 2026.
Transparency logRelease files / fastbase91-0.1.3-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl
| Download URL | fastbase91-0.1.3-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 301.8 kB |
| Tags | CPython 3.15 Linux glibc 2.28+ x86-64 abi3 abi3t |
|
SHA-256 checksum How to use checksums |
f484d47ef2d4e884df0bda9418236b693d1450891e9d68c5998a5abe6a909f5b
|
|
BLAKE2b-256 checksum How to use checksums |
5f38194ce74ea4eb38648b6af0b67840e9e6834047926ba84e636ad445708862
|
| 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 Oct 2, 2026.
Transparency logRelease files / fastbase91-0.1.3-cp315-abi3.abi3t-macosx_11_0_arm64.whl
| Download URL | fastbase91-0.1.3-cp315-abi3.abi3t-macosx_11_0_arm64.whl |
|---|---|
| Size | 266.5 kB |
| Tags | CPython 3.15 abi3 abi3t macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6c6b84c8e34a2dceb564735f16205aef72edf1e0267594c2b3d1fae9e4fc0ce6
|
|
BLAKE2b-256 checksum How to use checksums |
c8e699fec1fe20639b27d91f57264b227b66935790e69e34c5e7149c3aae99fc
|
| 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 Oct 2, 2026.
Transparency logRelease files / fastbase91-0.1.3-cp314-cp314t-win_amd64.whl
| Download URL | fastbase91-0.1.3-cp314-cp314t-win_amd64.whl |
|---|---|
| Size | 158.4 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3f3137f85b0b71627f2a27039475ab68d67e4f4102da531c1b5c53e97148bf52
|
|
BLAKE2b-256 checksum How to use checksums |
8a26635a570cca2d7d310900397a946a704e6c5fe48e91f00c7873caca24f1df
|
| 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 Oct 2, 2026.
Transparency logRelease files / fastbase91-0.1.3-cp314-cp314t-manylinux_2_28_x86_64.whl
| Download URL | fastbase91-0.1.3-cp314-cp314t-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 298.6 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
dc789ce18dac9fa7ec460c91b6545c0e2473eae4c2537c307d1ab89805f30297
|
|
BLAKE2b-256 checksum How to use checksums |
ca0d2ca67c2d5fa850eb5d53e686b297f104221491a3f59d440e4117a5424f23
|
| 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 Oct 2, 2026.
Transparency logRelease files / fastbase91-0.1.3-cp314-cp314t-macosx_11_0_arm64.whl
| Download URL | fastbase91-0.1.3-cp314-cp314t-macosx_11_0_arm64.whl |
|---|---|
| Size | 263.8 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
507513f73519931d1647b6998015454354c93436d4cff11b8473f270d4f57a1e
|
|
BLAKE2b-256 checksum How to use checksums |
3aeaedda0d32734186513dcbd5f8a62c9b726df210261913ff135b63429d47ac
|
| 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 Oct 2, 2026.
Transparency logRelease files / fastbase91-0.1.3-cp311-abi3-win_amd64.whl
| Download URL | fastbase91-0.1.3-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 160.5 kB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
8bb6391b24b84d952dcbcb533774e72800f980d6a8d22bc2eeca0d60d94533d1
|
|
BLAKE2b-256 checksum How to use checksums |
04cdecd26e601a27abb78bf3051259b58b6c0f0b5c82d7b71fb1cd15db983cb0
|
| 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 Oct 2, 2026.
Transparency logRelease files / fastbase91-0.1.3-cp311-abi3-manylinux_2_28_x86_64.whl
| Download URL | fastbase91-0.1.3-cp311-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 303.6 kB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
2a3d6a83def2b703ef278445cb17cbcd9a945ba85af6bd7174d2e6f6ead1cbee
|
|
BLAKE2b-256 checksum How to use checksums |
288cf3018f4568296df0d9b7e2433f9cb68e1d640634ad26c8bbd9f1aae28f79
|
| 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 Oct 2, 2026.
Transparency logRelease files / fastbase91-0.1.3-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | fastbase91-0.1.3-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 269.3 kB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
36c8aecd3b63040e1653a997e0fcfcf903aa2c462e16d8528e0a402ec3356daf
|
|
BLAKE2b-256 checksum How to use checksums |
dfd15ea25234367827699ccc04947a8dee1a626381cdee32dc50353cb7994c85
|
| 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 Oct 2, 2026.
Transparency log