B10 (Base-4096) Full Ecosystem
A high-performance implementation of the Base-4096 (B10) encoding system designed for extreme data compression of numbers and colors. This package provides a unified API for both numerical and color transformations across JavaScript and Python environments.
Features
- Number Encoding: Convert large integers and floating-point numbers into compact B10 strings.
- Color Compression: Compress standard 24-bit Hex colors (#RRGGBB) into just 2 B10 characters.
- Cross-Platform: Consistent alphabet and logic across JavaScript (Browser/Node.js) and Python.
- Zero Dependencies: Pure implementation using native language features.
Installation
JavaScript (NPM)
npm install b10-full
Python (Pip)
pip install full-b10
Quick Start
JavaScript
const b10Full = require('b10-full');
// Numbers
const encodedNum = b10Full.num.encode(2026);
console.log(b10Full.num.decode(encodedNum));
// Colors
const b10Color = b10Full.clr.fromHex("#FF5733");
console.log(b10Full.clr.toHex(b10Color)); // #FF5733
console.log(b10Full.clr.toRgb(b10Color)); // [255, 87, 51]
Python
from full_b10 import b10_full
# Numbers
encoded = b10_full.encode_num(12345.67)
decoded = b10_full.decode_num(encoded)
# Colors
b10_clr = b10_full.from_hex("#4A90E2")
hex_val = b10_full.to_hex(b10_clr)
CDN Usage
For browser direct integration:
<script src="https://cdn.jsdelivr.net/gh/oorraanngee/b10@main/b10-full.js"></script>
License
Cite: `https://base-4096.vercel.app/ Copyright (c) 2026 B10 Developer. Distributed under the MIT License.
Metadata
Release files for full-b10 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| full_b10-1.0.0.tar.gz | 3.2 kB | Without provenance | Details for full_b10-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| full_b10-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for full_b10-1.0.0-py3-none-any.whl |
Total release size: 6.8 kB
Release files / full_b10-1.0.0.tar.gz
| Download URL | full_b10-1.0.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc34f8eb4a2a3f5eba4252a9361372a14b6f265e2c3cc719013263ce2bcebdc5
|
|
BLAKE2b-256 checksum How to use checksums |
72035ce5700fe77458bd10470f1a88be340cfbcb1cb10295c805bdd9091f8cdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / full_b10-1.0.0-py3-none-any.whl
| Download URL | full_b10-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
def9c60951bbd1c07b543945dccecb8dac2a5aea8c51829cc3bd6baeed4abe4d
|
|
BLAKE2b-256 checksum How to use checksums |
b0d13224a51519211642277298d366965660bd52073ff9affcf5456468ecc2e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for full-b10 1.0.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.