Skip to main content

fastbase91

crates.io PyPI Rust CI Python CI License: MIT OR Apache-2.0

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_std core (optional alloc/std); runs on bare metal.
  • Streaming — incremental Encoder/Decoder for data that does not fit in memory at once.
  • Free-threaded ready — the Python extension declares gil_used = false and 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/abi3t wheel.

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.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastbase91 0.1.4
File Size Uploaded
fastbase91-0.1.4.tar.gz 40.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for fastbase91 0.1.4
File
fastbase91-0.1.4-cp315-abi3.abi3t-win_amd64.whl CPython 3.15 abi3, abi3t Windows x86-64 Details
fastbase91-0.1.4-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl CPython 3.15 abi3, abi3t Linux glibc 2.28+ x86-64 Details
fastbase91-0.1.4-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl CPython 3.15 abi3t, abi3 Linux glibc 2.28+ ARM64 Details
fastbase91-0.1.4-cp315-abi3.abi3t-macosx_11_0_arm64.whl CPython 3.15 abi3, abi3t macOS 11.0+ ARM64 Details
fastbase91-0.1.4-cp314-cp314t-win_amd64.whl CPython 3.14 CPython 3.14 free-threading Windows x86-64 Details
fastbase91-0.1.4-cp314-cp314t-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 Details
fastbase91-0.1.4-cp314-cp314t-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64 Details
fastbase91-0.1.4-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details
fastbase91-0.1.4-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details
fastbase91-0.1.4-cp311-abi3-musllinux_1_2_x86_64.whl CPython 3.11 abi3 Linux musl 1.2+ x86-64 Details
fastbase91-0.1.4-cp311-abi3-musllinux_1_2_aarch64.whl CPython 3.11 abi3 Linux musl 1.2+ ARM64 Details
fastbase91-0.1.4-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details
fastbase91-0.1.4-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details
fastbase91-0.1.4-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details

Total release size: 4.1 MB

Release files / fastbase91-0.1.4.tar.gz

Download URL fastbase91-0.1.4.tar.gz
Size 40.1 kB
Tags Source
SHA-256 checksum
How to use checksums
64297191d6ee19022e63c7ed9fffb6e60f4e90b54d7b13064b4ff0d73731debd
BLAKE2b-256 checksum
How to use checksums
85e9dd1e484089e777fd853e67dd17a3bb385273265080e92e8ba099ef232c78
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 16, 2026.

Transparency log

Release files / fastbase91-0.1.4-cp315-abi3.abi3t-win_amd64.whl

Download URL fastbase91-0.1.4-cp315-abi3.abi3t-win_amd64.whl
Size 161.3 kB
Tags CPython 3.15 Windows x86-64 abi3 abi3t
SHA-256 checksum
How to use checksums
520f869760ee02504459b4282f4a4ce92c140ac1865021938e9138b03a99aa3d
BLAKE2b-256 checksum
How to use checksums
9bb527458494aa6b0249ce60cd3c2e4c3d349b8ac38fb8b733640d380216823e
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 16, 2026.

Transparency log

Release files / fastbase91-0.1.4-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl

Download URL fastbase91-0.1.4-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl
Size 302.7 kB
Tags CPython 3.15 Linux glibc 2.28+ x86-64 abi3 abi3t
SHA-256 checksum
How to use checksums
b39edb7e200fcb8b223802c0c3d7cb916c0ca6150463f85e3ff5e21a0ae60b2a
BLAKE2b-256 checksum
How to use checksums
0612545d49d0b6c4b5e057a45a01674984147f2c8d89acc98e0f13dc7f677899
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 16, 2026.

Transparency log

Release files / fastbase91-0.1.4-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl

Download URL fastbase91-0.1.4-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl
Size 296.7 kB
Tags CPython 3.15 Linux glibc 2.28+ ARM64 abi3 abi3t
SHA-256 checksum
How to use checksums
1a38e62c704ca4210908687b277dca5c7836a51f4ca70210e0a03cada9c34333
BLAKE2b-256 checksum
How to use checksums
07b266d1a8e1254dcbc8a4221f31aa540b0857c4492da0cf2f12907b0384d550
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 16, 2026.

Transparency log

Release files / fastbase91-0.1.4-cp315-abi3.abi3t-macosx_11_0_arm64.whl

Download URL fastbase91-0.1.4-cp315-abi3.abi3t-macosx_11_0_arm64.whl
Size 267.5 kB
Tags CPython 3.15 abi3 abi3t macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
30b3697089f2e2e93541f2aad0e75edb9bca6e502f5b8628cfda3d4616c02b51
BLAKE2b-256 checksum
How to use checksums
960f94871ac6e46f3cb3ea59cdd01c88b43da5a87f7e817973e4f60f6e364962
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 16, 2026.

Transparency log

Release files / fastbase91-0.1.4-cp314-cp314t-win_amd64.whl

Download URL fastbase91-0.1.4-cp314-cp314t-win_amd64.whl
Size 159.4 kB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
bff7dfa571091230f04adef3234f7f7820cde03ac0f7af015106e0178adb5978
BLAKE2b-256 checksum
How to use checksums
d52ba4f75f94df8608583acc0ce48691104daf55e4e490101d43a7e98decbbcb
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 16, 2026.

Transparency log

Release files / fastbase91-0.1.4-cp314-cp314t-manylinux_2_28_x86_64.whl

Download URL fastbase91-0.1.4-cp314-cp314t-manylinux_2_28_x86_64.whl
Size 299.4 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
763ba0d0932cb3d5f589c44e2887cde26c9ad736ce2c27f59b8cb123ed68c791
BLAKE2b-256 checksum
How to use checksums
597149d094380f67830f4dcbbc4ed54f667b2a663b47a727462dd0a55790ee98
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 16, 2026.

Transparency log

Release files / fastbase91-0.1.4-cp314-cp314t-manylinux_2_28_aarch64.whl

Download URL fastbase91-0.1.4-cp314-cp314t-manylinux_2_28_aarch64.whl
Size 294.0 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
ca414cf45471f258d705aa8314119d4e6d678e7233912c765a8abd518e61b018
BLAKE2b-256 checksum
How to use checksums
e558a980d0a93696340b9f421f05718ed6636c9c19bc9a2fe1f28951347b7117
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 16, 2026.

Transparency log

Release files / fastbase91-0.1.4-cp314-cp314t-macosx_11_0_arm64.whl

Download URL fastbase91-0.1.4-cp314-cp314t-macosx_11_0_arm64.whl
Size 264.7 kB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b06dfd3e66555a3ebd9a96ff3eec1aa7cf3114e381f6d796acaa9ad5eb288ca9
BLAKE2b-256 checksum
How to use checksums
ba5c34f81099d5c74581a3f2304d3c7af8971b6313ea03a5ff10355d1f083c34
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 16, 2026.

Transparency log

Release files / fastbase91-0.1.4-cp311-abi3-win_amd64.whl

Download URL fastbase91-0.1.4-cp311-abi3-win_amd64.whl
Size 161.4 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f11e0a465a23b784597746e8d2480798bf98c7f1d2e9ad38ee47a1b34aeb0578
BLAKE2b-256 checksum
How to use checksums
9eeb7d9953f8df7315a38392ca30b05e74fd7d26c5f61c91c6f22a34ddacf5d8
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 16, 2026.

Transparency log

Release files / fastbase91-0.1.4-cp311-abi3-musllinux_1_2_x86_64.whl

Download URL fastbase91-0.1.4-cp311-abi3-musllinux_1_2_x86_64.whl
Size 506.6 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
310e2449c0a44f1d9dec4feddddaa98e350796b3600de96bbe8a987256e21333
BLAKE2b-256 checksum
How to use checksums
9e30b8eb7de9590e4025e2626f21e03d58f2bd49a075bf242e4c91dab79409f3
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 16, 2026.

Transparency log

Release files / fastbase91-0.1.4-cp311-abi3-musllinux_1_2_aarch64.whl

Download URL fastbase91-0.1.4-cp311-abi3-musllinux_1_2_aarch64.whl
Size 475.2 kB
Tags CPython 3.11 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
6d2422eb071918b35a6cd725e76aca870f579a332158fe3747303da7c59609ae
BLAKE2b-256 checksum
How to use checksums
c918c4fa364d3fbcc21fa43ae56f36d5e6444cb07abf3625081dadfecdc298d8
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 16, 2026.

Transparency log

Release files / fastbase91-0.1.4-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL fastbase91-0.1.4-cp311-abi3-manylinux_2_28_x86_64.whl
Size 304.5 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
0d22a5f84486ad4ff30a0671383abc6b6a0be8cc18c09b77a173ab479fef8a9c
BLAKE2b-256 checksum
How to use checksums
b631339adad2ad36a369d1dd3144858368ff1d40def0a3ad2f173fc5f3e3ff24
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 16, 2026.

Transparency log

Release files / fastbase91-0.1.4-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL fastbase91-0.1.4-cp311-abi3-manylinux_2_28_aarch64.whl
Size 298.8 kB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
70637d245baa3748d50cba044d8c01511627176c5b14d9f6412c6628fcc8c3c5
BLAKE2b-256 checksum
How to use checksums
797aaf17a6550d1cd4cab7e741a7cdacbdc8324042acb7b5fcea006e5cce393b
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 16, 2026.

Transparency log

Release files / fastbase91-0.1.4-cp311-abi3-macosx_11_0_arm64.whl

Download URL fastbase91-0.1.4-cp311-abi3-macosx_11_0_arm64.whl
Size 270.2 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
cb983323048084589fb4c7908d1646d76df517cd04353c5662e8988689d3222b
BLAKE2b-256 checksum
How to use checksums
b3e38a0423905456cce4b8c083abe052b83eea7572bf04a8b86c7292b4a0ee4d
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 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.4 This release

15 release files

0.1.2

10 release files

0.1.1

10 release files

0.1.0

7 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page