Python Bidi layout wrapping the Rust crate unicode-bidi
Overall
score
93%
A utility for formatting bilingual documents that contain mixed Hebrew and English text, converting them from logical storage order to visual display order suitable for terminal or text-based output.
@generates
def format_bilingual_text(text: str) -> str:
"""
Converts bidirectional text from logical storage order to visual display order.
Args:
text: A string containing mixed Hebrew/English text
Returns:
The text reordered for proper visual display
"""
passProvides bidirectional text algorithm implementation for handling mixed LTR/RTL text.
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/pypi-python-bididocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10