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.
  • 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 world")) 
# → Хэлоу уорлд

Handling Slang and Nicknames

The library automatically handles CamelCase and abbreviations, making it perfect for gaming nicknames or tech slang:

print(t.transcribe("myURL and MacBook")) 
# → май-урл энд макбук

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

Based on curated IPA data from OpenWiktionary.

License

MIT

Metadata

Release files for eng-to-ru-transcriber 0.3.0

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.0
File Size Uploaded Provenance Actions
eng_to_ru_transcriber-0.3.0.tar.gz 1.1 MB Without provenance Details for eng_to_ru_transcriber-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 2.2 MB

Release files / eng_to_ru_transcriber-0.3.0.tar.gz

Download URL eng_to_ru_transcriber-0.3.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
e85a7a1b1420e4dac7296298593fce50b6bd5e377fa78f0a5b234ea141416eeb
BLAKE2b-256 checksum
How to use checksums
0b4b6a281ad5e3799b198f6e77e820248da8504aa37e49b2057e4a52737e28d1
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.0-py3-none-any.whl

Download URL eng_to_ru_transcriber-0.3.0-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
bc79e4f47e59e1564c2aa73f68c6f60bc2dd2effdbe6170bf806ffdf269ff2f3
BLAKE2b-256 checksum
How to use checksums
ca84fa55b2f2dc879089b134acc072959d5d460c9128532aaeee6ee01414e945
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.0

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