Metadata-Version: 2.4
Name: num_b10
Version: 1.0.2
Summary: B10 (Base-4096) number system for space saving
Author-email: support.base.4096@gmail.com
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 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

```bash
pip install num_b10

```

## Usage

```python
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/
