
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
devatrans
Advanced tools
devatrans is an easy-to-use tool for transliteration, back transliteration, inter transliteration of SANSKRIT.
This is a simple tool to transliterate SANSKRIT text to IAST, Harvard-Kyoto, ITRANS, Velthuis convention. It can also be used to back transliterate from IAST, Harvard-Kyoto, ITRANS, Velthuis convention to Sanskrit. It is can be used to inter transliterate from one convention to another.
International Alphabet of Sanskrit Transliteration(IAST)
Indian language transliteration(ITRANS)
Harvard-Kyoto(HK)
Velthuis
from devatrans import DevaTrans
#create DevaTrans object.
dt = DevaTrans()
transliteration of a sentence.
trans = dt.transliterate(input_type = "sen", to_convention = "hk", sentence = "नारायणं")
print(trans)
#output: nArAyaNaM
transliteration of a text file.
dt.transliterate(input_type = "file", to_convetion = "iast", inp_file_path = "path_to_inp_file",
op_file_path = "path_to_out_file")
back transliteration of a sentence.
back_trans = dt.back_transliterate(input_type = "sen", from_convention = "hk", sentence = "nArAyaNaM")
print(back_trans)
#output: नारायणं
back transliteration of a text file.
dt.back_transliterate(input_type = "file", from_convention = "itrans",
inp_file_path = "path_to_inp_file",op_file_path = "path_to_out_file")
inter transliteration of a sentence
inter_trans = dt.inter_transliterate(input_type = "sen", from_convention = "hk",
to_convention = "velthuis", sentence = "nArAyaNaM")
inter transliteration of a text file.
dt.inter_transliterate(input_type = "file", from_convention = "itrans",to_convention = "iast",
inp_file_path = "path_to_inp_file",op_file_path = "path_to_out_file")
pip install devatrans
transliterate(input_type, to_convention, inp_file_path=None,
op_file_path=None, sentence=None)
The
input_typecan either be "sen" or "file", if theinput_typeis file theninp_file_pathshould be provided, theop_file_pathis optional,if not specified the transliterated text is written back toinp_file_path`.Use this method to transliterate text from
SANSKRITtoIAST,ITRANS,HARVARD-KYOTO,VELHTUIS.If characters which are not part of the convention are encoutered they are left unchanged.
inter_transliterate(input_type, from_convention, to_convention, inp_file_path=None,
op_file_path=None, sentence=None)
The
input_typecan either be "sen" or "file", if theinput_typeis file theninp_file_pathshould be provided, theop_file_pathis optional,if not specified the transliterated text is written back toinp_file_path`.Use this method to transliterate text from one convetion to another.
If characters which are not part of the convention are encoutered they are left unchanged.
back_transliterate(input_type, from_convention, inp_file_path=None,
op_file_path=None, sentence=None):
The
input_typecan either be "sen" or "file", if theinput_typeis file theninp_file_pathshould be provided, theop_file_pathis optional,if not specified the transliterated text is written back toinp_file_path`.Use this method to back transliterate text from
IAST,ITRANS,HARVARD-KYOTO,VELHTUIStoSANSKRIT.If characters which are not part of the convention are encoutered they are left unchanged.
to_convention, from_convnetion can take only take values hk, iast, itrans, velthuis
.txt format is supported, it could be extended to PDF and other file formats.TY - BOOK AU - Nair, Jayashree AU - Sadasivan, Anand PY - 2019/03/30 SP - T1 - A Roman to Devanagari Back-Transliteration Algorithm based on Harvard-Kyoto Convention ER -
If a bug encountered please open the issuse here.
My mail ravitejtasubilli@gmail.com
FAQs
devatrans is an easy-to-use tool for transliteration, back transliteration, inter transliteration of SANSKRIT.
We found that devatrans demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.