Registry / devops / indic-transliteration

indic-transliteration

JSON →
library2.3.82pypypi✓ verified 79d ago

A Python library for transliterating text between various Indic scripts (Devanagari, Tamil, Telugu, etc.) and between Indic scripts and Latin (ISO, Harvard-Kyoto, ITRANS, Velthuis, SLP1, etc.). The current version is 2.3.82, with frequent releases.

pip install indic-transliteration
INSTALL
IMPORT
SIG · INDIC-TRANSLITERAT
I
indic-transliteration
devopspythonv2.3.82
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

sanscript
from indic_transliteration import sanscript
from indic_transliteration import sanscript

Transliterate Devanagari text to IAST (International Alphabet of Sanskrit Transliteration).

from indic_transliteration import sanscript from indic_transliteration.sanscript import transliterate data = "नमस्ते" result = transliterate(data, sanscript.DEVANAGARI, sanscript.IAST) print(result) # Output: namaste
Debug
Known issues
gotchaThe library uses 'sanscript' (not 'transliteration' or 'indic') as the main module for transliteration functions.
fix
Use `from indic_transliteration import sanscript`.
affects: all
gotchaTransliteration scheme constants (e.g., DEVANAGARI, IAST, HK, ITRANS) are defined in `sanscript`, not as standalone strings.
fix
Access constants via `sanscript.DEVANAGARI`, etc.
affects: all
gotchaThe function `transliterate` expects source and target scheme constants in the correct order: (data, source_scheme, target_scheme). Source and target are easy to swap.
fix
Always double-check order: `transliterate(data, FROM, TO)`.
affects: all
Upgrade
Version history
2.3.82latest on PyPI · released Apr 6, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
indic-transliteration — pip install indic-transliteration · libregistry