mikeshardmind-base2048
Pure python Base-2048 binary-text encoding
Decision gist · record as of 2026-08-14
Yes, if you need compact, display-safe binary-to-text encoding. The library is production-stable, dependency-free, and actively maintained. The MPL-2.0 copyleft license is straightforward for unmodified vendoring. Install it when base64's inefficiency or character restrictions are a real constraint; skip it if you don't need the 11 bits/character advantage or markdown safety.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction—pure Python with no runtime dependencies and a wheel distribution.
- Actively maintained with recent commits; marked Production/Stable and supports Python 3.9 through 3.14.
License · maintenance · safety
MPL-2.0 (copyleft) — Licensed under MPL-2.0, a per-file copyleft license. If you do not modify the vendored files, you have no further obligation; the license is included in the header. Modification or redistribution of modified files requires license compliance.
last release 2026-05-27 (79 days) · last repo commit 2026-05-27
0 known vulnerabilities (OSV.dev, 2026-08-14) · 90,242 downloads/mo, #13,608 on PyPI
Alternatives
Verify before relying
pip install mikeshardmind-base2048
import base2048
encoded = base2048.encode(b"data")
decoded = base2048.decode(encoded)- Actual performance comparison with rust-base2048 and other encodings on representative data and Python versions
- Type-checker compatibility beyond pyright and mypy (pyre, pytype)
- Real-world adoption and stability feedback from production use cases
What it is and what it does
mikeshardmind-base2048 is a pure-Python implementation of base2048, a binary-text encoding scheme that converts bytes into strings using a 2048-character Unicode alphabet. Unlike base64 (6 bits/character) or base85 (6.4 bits/character), base2048 achieves 11 bits per character without requiring byte padding, making it more compact for text-based data transfer. The character set is chosen to display correctly on modern platforms (Twitter, Discord, text editors) and is markdown-safe, though the characters are impractical to type manually.
The library provides two functions: encode() converts bytes to an encoded string, and decode() reverses the process. It includes a compressed character map loaded at import time and provides type hints compatible with pyright and mypy. The package is self-contained with no runtime dependencies, making it suitable for vendoring. Performance is reported as comparable to the original Rust-based implementation, though benchmarking on your specific data and Python version is recommended.
Use it for
- Store state in Discord bot custom_id fields to enable high-concurrency state management without shared synchronization
- Transmit error reports in chat platforms in compact form while omitting sensitive log data
- Share public keys or cryptographic material in text-safe format across messaging apps
- Encode customized application builds or configurations for sharing via chat without external links
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need compact, display-safe binary-to-text encoding.
The library is production-stable, dependency-free, and actively maintained. The MPL-2.0 copyleft license is straightforward for unmodified vendoring. Install it when base64's inefficiency or character restrictions are a real constraint; skip it if you don't need the 11 bits/character advantage or markdown safety.
Install
mikeshardmind-base2048 on PyPI
Before you install
Low install friction—pure Python with no runtime dependencies and a wheel distribution. Actively maintained with recent commits; marked Production/Stable and supports Python 3.9 through 3.14.
License in practice
Licensed under MPL-2.0, a per-file copyleft license. If you do not modify the vendored files, you have no further obligation; the license is included in the header. Modification or redistribution of modified files requires license compliance.
Quickstart
pip install mikeshardmind-base2048
import base2048
encoded = base2048.encode(b"data")
decoded = base2048.decode(encoded)
Verify before relying
- Actual performance comparison with rust-base2048 and other encodings on representative data and Python versions
- Type-checker compatibility beyond pyright and mypy (pyre, pytype)
- Real-world adoption and stability feedback from production use cases
Package facts
| License | MPL-2.0 copyleft |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 79 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 90,242 / month, #13,608 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9 |
Evidence: mikeshardmind_base2048-1.0.4-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 › “binary to text encoding”
- mikeshardmind-base2048Encodes binary data into text using base2048, a binary-text encoding…
- isbinaryDetermines whether a file is binary or text by analyzing its content…
- basesProvides customizable Base-N encoding and decoding for common styles…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also base2048 · ebcdic · unpaddedbase64 · canoser · bases · py-multibase · binaryornot · cbor2 · chardet · python-bidi