Registry / data / uroman

uroman

JSON →
library1.3.1.1pypypi✓ verified 26d ago

uroman is a universal romanizer designed to convert text in any script to the standard Latin alphabet. Version 1.3.1.1 is the current stable release. Starting with v1.3.1, the library underwent a significant rewrite from Perl to Python, bringing improved support for various languages including Coptic, Thai, Khmer, and Tibetan. Releases are made periodically to enhance language support and features.

pip install uroman
INSTALL
IMPORT
SIG · UROMAN
U
uroman
datapythonv1.3.1.1
Install
2.1s avg
Import
200ms
Disk
23MB
Pass rate
8/ 10
Env Coverage8 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v1.3.1.1 · 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
musl
glibc
py 3.10
✓ —
✓ 2.5s
py 3.11
✓ —
✓ 2.2s
py 3.12
✓ —
✓ 2s
py 3.13
✓ —
✓ 1.9s
py 3.9
✕ build_error
✕ build_error
23MB installed
● package 23MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Uroman
✓ from uroman import Uroman
✗ import uroman
uroman
✓ from uroman import uroman
✗ import uroman
RomFormat
✓ from uroman import RomFormat
✗ import uroman

Demonstrates how to import the uroman library and use the main `romanize` function to convert text from various scripts to the Latin alphabet.

import uroman text_in_any_script = "你好世界" romanized_text = uroman.romanize(text_in_any_script) print(f"Original: {text_in_any_script}") print(f"Romanized: {romanized_text}") # Example with another script text_arabic = "مرحبا بالعالم" print(f"Arabic: {text_arabic} -> {uroman.romanize(text_arabic)}")
uroman --version
Debug
Known issues
breakingVersion 1.3.1 marked a complete rewrite of the library from Perl to Python. Code written for previous versions (pre-1.3.1) is incompatible and will not work with the Python version.
fix
Users migrating from Perl versions must entirely rewrite their integration code, as the API, dependencies, and execution environment have fundamentally changed. Refer to the Python examples in the official documentation.
affects: <1.3.1
gotchaThe uroman Python library (v1.3.1 and later) requires Python 3.10 or newer. Attempting to install or run it with older Python versions will result in installation failures or runtime errors.
fix
Ensure your Python environment is version 3.10 or higher before installing `uroman`. Upgrade your Python interpreter or use a virtual environment with the correct version.
affects: >=1.3.1
Upgrade
Version history
1.3.1.1latest on PyPI · released Jun 28, 2024
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
32
Amazon
1
OpenAI (training)
1
Resources
uroman — pip install uroman · libregistry