Skip to main content

Practical English-Russian Transcription

Читать на русском языке

A lightweight Python library for quick and deterministic practical transcription of English words using the Russian alphabet.

Why this exists

This library is built for:

  • Adapting slang and neologisms (e.g., crush, vibe, hype).
  • Transcribing names, usernames, and brand names.

Modern translation tools are powerful, but they are overkill for simple tasks:

  • Cloud APIs (like Google Translate or DeepL) require an internet connection and have rate limits.
  • Neural networks (even local ones) are heavy, slow to initialize, and can produce unpredictable results.

Sometimes you just need to instantly write English words, names, or slang using the Russian alphabet without waiting for models to load.

Features

  • Practical transcription: adapts IPA pronunciation to match Russian orthography rules, rather than just letter-by-letter replacement.
  • Vowel length indication: long vowels are marked with an acute accent (e.g., и́, у́), preserving phonetic accuracy.
  • Zero dependencies & 100% offline: no heavy ML models or cloud APIs. Works instantly.
  • Deterministic: the same word always yields the exact same result.
  • Hybrid engine: uses a built-in 120k+ word dictionary for common words and a fast rule-based engine for everything else.
  • Custom vocabulary: easily teach the library how to transcribe your specific character names, brands, or terms.

Installation

Requires Python 3.9 or higher.

pip install eng-to-ru-transcriber

Usage

Basic Example

from eng_to_ru_transcriber import Transcriber

t = Transcriber()
print(t.transcribe("Hello, URL!")) 
# → халоу, ю́а́эл!

Abbreviations (like URL) are automatically detected and read letter-by-letter. The acute accent (e.g., ю́) marks vowel length, not stress.

Custom Vocabulary

You can easily override the pronunciation of specific words (names, brands, or specific slang) by passing a dictionary:

from eng_to_ru_transcriber import Transcriber

# Teach the transcriber your custom terms
custom_vocabulary = {
    "python": "ˈpaɪθɑn",
    "kubernetes": "ˌk(j)uːbəˈnɛtɪs"
}

t = Transcriber(custom_vocabulary=custom_vocabulary)
print(t.transcribe("I love Python and Kubernetes"))

Testing

pip install -e ".[dev]"
python -m pytest

Data Sources

English IPA data is derived from open-dict-data/ipa-dict (MIT License, Copyright © 2016 dohliam).

License

MIT

Metadata

Release files for eng-to-ru-transcriber 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eng-to-ru-transcriber 0.3.2
File Size Uploaded Provenance Actions
eng_to_ru_transcriber-0.3.2.tar.gz 1.1 MB Without provenance Details for eng_to_ru_transcriber-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for eng-to-ru-transcriber 0.3.2
File Interpreter ABI Platform Actions
eng_to_ru_transcriber-0.3.2-py3-none-any.whl Python 3 none any Details for eng_to_ru_transcriber-0.3.2-py3-none-any.whl

Total release size: 2.2 MB

Release files / eng_to_ru_transcriber-0.3.2.tar.gz

Download URL eng_to_ru_transcriber-0.3.2.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
a0392e9099a8d5c07d877b202b117c1104a5924780c65b3a2904c5325dd204e9
BLAKE2b-256 checksum
How to use checksums
1f6c21a7cb82a542fe440a2ccb2ca7135fdedfa3a5d917644831234aea5a6ed7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / eng_to_ru_transcriber-0.3.2-py3-none-any.whl

Download URL eng_to_ru_transcriber-0.3.2-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
95c8ed9bda2e2ad5316b5f3a28085cc61af41c19083947ba730d67af618fb71d
BLAKE2b-256 checksum
How to use checksums
6a62698ba6d22191e0322342975910dd130f7008befad1f9f4821e66afae0a0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for eng-to-ru-transcriber 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page