Package: iuliia
IuliiaTransliterate Cyrillic → Latin in every possible wayTransliteration means representing Cyrillic data (mainly names and geographic locations) with Latin letters. It is used for international passports, visas, green cards, driving licenses, mail and goods delivery etc.Iuliiamakes transliteration as easy as:>>>importiuliia>>>iuliia.translate("Юлия Щеглова",schema=iuliia.WIKIPEDIA)'Yuliya Shcheglova'Why useIuliia20 transliteration schemas(rule sets), including all main international and Russian standards.Correctly implements not only the base mapping, but all the special rules for letter combinations and word endings (AFAIK, Iuliia is the only library which does so).Simple API and zero third-party dependencies.For schema details and other information, seeiuliia.ru(in Russian).Issues and limitationsInstallationpipinstalliuliiaUsageList all supported schemas:>>>importiuliia>>>importiuliia>>>forname,schemainiuliia.Schemas.items():...print("{0:<20}{1}".format(name,schema.description))...ala_lcALA-LCtransliterationschema.ala_lc_altALA-LCtransliterationschema.bgn_pcgnBGN/PCGNtransliterationschemabgn_pcgn_altBGN/PCGNtransliterationschemabs_2979BritishStandard2979:1958transliterationschemabs_2979_altBritishStandard2979:1958transliterationschemagost_16876GOST16876-71(akaGOST1983)transliterationschemagost_16876_altGOST16876-71(akaGOST1983)transliterationschemagost_52290GOSTR52290-2004transliterationschemagost_52535GOSTR52535.1-2006transliterationschemagost_7034GOSTR7.0.34-2014transliterationschemagost_779GOST7.79-2000(akaISO9:1995)transliterationschemagost_779_altGOST7.79-2000(akaISO9:1995)transliterationschemaicao_doc_9303ICAODOC9303transliterationschemaiso_9_1954ISO/R9:1954transliterationschemaiso_9_1968ISO/R9:1968transliterationschemaiso_9_1968_altISO/R9:1968transliterationschemamosmetroMoscowMetromaptransliterationschemamvd_310MVD310-1997transliterationschemamvd_310_frMVD310-1997transliterationschemamvd_782MVD782-2000transliterationschemascientificScientifictransliterationschematelegramTelegramtransliterationschemaungegn_1987UNGEGN1987V/18transliterationschemawikipediaWikipediatransliterationschemayandex_mapsYandex.Mapstransliterationschemayandex_moneyYandex.MoneytransliterationschemaTransliterate using specified schema:>>>source="Юлия Щеглова">>>iuliia.translate(source,schema=iuliia.ICAO_DOC_9303)'Iuliia Shcheglova'Or pick schema by name>>>schema=iuliia.Schemas.get("wikipedia")>>>iuliia.translate(source,schema)'Yuliya Shcheglova'Command line:$iuliiaicao_doc_9303"Юлия Щеглова"IuliiaShcheglovaDevelopment setup$python3-mvenvenv
$.env/bin/activate
$makedepsschemas
$toxDevelopment tasks:$ make help
Usage: make [task]

task                 help
------               ----
changelog            Generate changelog
coverage             Run tests with coverage
deps                 Install dependencies
lint                 Lint and static-check code
pull                 Pull code and schemas
push                 Push commits and tags
schemas              Update schemas
test                 Run tests
help                 Show help messageContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Make sure to add or update tests as appropriate.UseBlackfor code formatting andConventional Commitsfor commit messages.ChangelogLicenseMIT