Skip to main content

B10 (Base-4096) number system for space saving

Project description

B10 Numerical System (Base-4096)

B10 is a high-density numerical encoding system that uses a custom 4096-character alphabet. It is designed to minimize data weight in text-based protocols by encoding 12 bits of data into a single UTF-8 character.

Key Features

  • High Density: Significant reduction in string length compared to decimal or Base64.
  • Float Support: Handles floating-point numbers with precision.
  • Cross-Platform: Fully compatible with the B10 JavaScript ecosystem.

Installation

pip install num_b10

Usage

from num_b10 import num_b10

# Encoding a number
encoded = num_b10.encode(2026)
print(encoded)  # Output: ꇍ

# Decoding back to a number
decoded = num_b10.decode(encoded)
print(decoded)  # Output: 2026

Technical Details

The system utilizes a specific range of Unicode characters to ensure a unique 4096-character alphabet, allowing each character to represent exactly 12 bits of information.

Support

Contact: support.base.4096@gmail.com

Cite: https://base-4096.vercel.app/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

num_b10-1.0.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

num_b10-1.0.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file num_b10-1.0.2.tar.gz.

File metadata

  • Download URL: num_b10-1.0.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for num_b10-1.0.2.tar.gz
Algorithm Hash digest
SHA256 845505af08a7737d8e8013d1d642400c592b05ec9500494826cb8dc723aab29a
MD5 d77ea5b6056915b419a3051d2ce7d54b
BLAKE2b-256 493d85451f7b094cc6d6fe1c316c86439b7d10ba94fb4ebd0b645f0e58777b5f

See more details on using hashes here.

File details

Details for the file num_b10-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: num_b10-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for num_b10-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 742340ae348e4c1d6f66a218f83516a6a8cf9b4286d5cdf92ebcd2cb1448edc5
MD5 6b8cb07f80f517c22e34483ff60d1923
BLAKE2b-256 9a7154f3eb2cee34127cf222bd605f549d64e6e06ee7c4ef9e38e002322ba464

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page