Releases: balswyan/arabic-rt
Releases · balswyan/arabic-rt
v0.1.4
v.0.1.3
v0.1.2
v0.1.1
v0.1.0 - Initial release
First public release of arabic-rt — Arabic shaping, BiDi, and un-baking for
games, TTS, and real-time clients.
#Highlights
fix()— bake logical Arabic into visual-order presentation forms that render
correctly even on clients that do no Arabic processing.unfix()— reverse the bake back to clean logical Arabic, so TTS, search, and
logging see real Arabic letters while the display stays baked.shape()— contextual shaping only (isolated/initial/medial/final, lam-alef and
optional الله ligature), order preserved.GAMEpreset for word-by-word chat readers;contains_arabic()and
is_shaped()helpers; tunableOptions(word joiner, line wrapping, word order).
Quality
- Forward output validated byte-for-byte against
arabic_reshaper+python-bidi. unfix(fix(x)) == xround-trip covered by tests (53 tests passing).
Install
pip install arabic-rt
Zero dependencies. MPL-2.0. Created by Bandar AlSwyan.