{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/10"}],"enrichment":{"capability":"Encodes binary data into text using base2048, a binary-text encoding that achieves 11 bits per character and produces display-safe, markdown-compatible output without padding overhead.","skillfed_tags":["encoding","serialization","text-safe"],"use_cases":["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"],"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.\n\nThe 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.","worth_installing":"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."},"id":"mikeshardmind-base2048","links":{"html":"https://skillfed.io/packages/mikeshardmind-base2048","md":"https://skillfed.io/packages/mikeshardmind-base2048.md","pypi":"https://pypi.org/project/mikeshardmind-base2048/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-27","license_spdx":"MPL-2.0","license_treatment":"copyleft","name":"mikeshardmind-base2048","python_support":"supports_current","summary":"Pure python Base-2048 binary-text encoding"},"popularity":{"monthly_downloads":90242,"position":13608,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.4"}
