Install & Compatibility
Where this runs
tested against v2.4.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.2MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 20MB
17MB installed
● package 17MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
RbnfEngine
✓ from unicode_rbnf import RbnfEngine
✗ from rbnf import RbnfEngine
FormatOptions
✓ from unicode_rbnf import FormatOptions
FormatPurpose
✓ from unicode_rbnf import FormatPurpose
Basic usage: create engine, format number with a rule set (e.g., 'spellout').
from rbnf import RbnfEngine
# Create engine for English (US) with default rules
engine = RbnfEngine.for_language('en-US')
# Format a number using the 'spellout' rule set
result = engine.format_number(1234, 'spellout')
print(result) # e.g., 'one thousand two hundred thirty-four'
Upgrade
Version history
2.4.0latest on PyPI · released Oct 7, 2025
Audit
Dependencies
No dependency data recorded yet.