translators
Translators is a library that aims to bring free, multiple, enjoyable translations to individuals and students in Python.
What it is and what it does
Translators is a Python library that wraps multiple free online translation services—including Google, Bing, Baidu, Alibaba, and others—into a single interface. Instead of writing separate code to call each service's API, you import translators and call a unified function to translate text, specifying the source and target languages. The library handles the HTTP requests, parsing, and error handling for each backend.
The package depends on HTTP clients (httpx, requests, niquests), HTML parsing (lxml), and compression support (brotli, brotlicffi) to communicate with and parse responses from these services. It supports Python 3.8 through 3.13 and is marked Production/Stable, though maintenance has slowed—the last commit was over 200 days ago. It carries a GPLv3 license, which restricts use in proprietary software.
Use it for:
- Translate user-submitted text in a web application without building integrations to individual translation APIs.
- Build a fallback translation system that tries multiple services if one is unavailable or rate-limited.
- Batch-translate documents or content by iterating over multiple language pairs using a single library.
- Prototype or test translation features in a learning project without managing API keys or authentication.
- Support translation of text in CLI tools or data pipelines where a lightweight, dependency-light solution is preferred.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Translators provides a unified Python interface to multiple free online translation services, allowing you to translate text across many language pairs without building individual integrations.
Yes, with conditions. Install if you need free, multi-service translation without managing separate API integrations and can accept GPLv3 licensing constraints. The low install friction and broad language support make it practical for prototyping and non-proprietary projects. Skip if you require active maintenance, proprietary licensing, or guaranteed uptime—the aging status and 205-day gap since last release suggest slower response to bugs or service changes.
Install
translators on PyPI
pip
pip install translatorsuv
uv add translatorspoetry
poetry add translatorsInstalling translators
Before you install
Low install friction with a pure-Python wheel. Maintenance is aging—last commit was 205 days ago—but the repository remains active and the package is marked Production/Stable. The 11 runtime dependencies include HTTP clients (httpx, requests, niquests), parsing (lxml), and compression libraries (brotli, brotlicffi), which add some weight but are widely available.
License in practice
Licensed under GPLv3 (copyleft). Any derivative work or modification must also be released under GPLv3, and distribution requires source code availability. This is a significant constraint for proprietary or closed-source projects.
Quickstart
pip install translators
import translators as ts
result = ts.translate_text(text='Hello', from_language='en', to_language='zh')
Verify before relying
- Which of the 19+ translation services listed in the description are currently functional and which have known issues or rate limits.
- Whether all listed translation services are equally reliable or if some have higher failure rates.
- Performance characteristics when translating large volumes of text or making many concurrent requests.
Package facts
| License | GPLv3 (copyleft) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 11 — httpx, requests, niquests, exejs, lxml, tqdm, pathos, ai-cloudscraper, cryptography, brotlicffi, brotli |
| Maintenance | aging — 205 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 147,191/month — #11,076 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: translators-6.0.4-py3-none-any.whl
Keywords: translate, translate_text, translate_html, alibaba, apertium, argos, baidu, bing, caiyun, cloudTranslation, deepl, elia, google, hujiang, iciba, iflytek, iflyrec, itranslate, judic, languageWire, lara, lingvanex, mglip, mirai, modernMt, myMemory, niutrans, papago, qqFanyi, qqTranSmart, reverso, sogou, sysTran, tilde, translateCom, translateMe, utibet, volcEngine, xunjie, yandex, yeekit, youdao
Tags
More Linguistic packages
Detects and normalizes text encoding from…
permissive · top 100 on PyPI
tiktokentiktoken is a fast BPE tokenizer that converts…
permissive · top 1,000 on PyPI
chardetDetects character encoding and language in byte…
permissive · top 1,000 on PyPI
text-unidecodeConverts Unicode text to ASCII by…
copyleft · top 1,000 on PyPI
larkLark is a parsing library that builds abstract…
permissive · top 1,000 on PyPI
tree-sitterPython bindings to the tree-sitter parsing…
permissive · top 1,000 on PyPI
argostranslateArgos Translate is an open-source offline…
permissive · top 15,000 on PyPI
deep-translatorTranslates text between languages using…
permissive · top 5,000 on PyPI
translateTranslate text between languages via command…
permissive · top 15,000 on PyPI
deeplProvides a Python client to interact with the…
permissive · top 5,000 on PyPI
googletransGoogletrans translates text and detects…
permissive · top 5,000 on PyPI
libretranslatepyPython client library for the LibreTranslate…
permissive · top 15,000 on PyPI
googletrans-pyProvides free Google Translate API access for…
permissive · top 15,000 on PyPI
azure-ai-translation-textProvides a Python client for Azure's neural…
unclear · top 15,000 on PyPI
google-cloud-translatePython client library for Google Cloud…
permissive · top 1,000 on PyPI
BabelDOCBabelDOC translates PDF documents between…
agpl · top 15,000 on PyPI