A Python library providing free, unified access to 39+ translation services like Google, DeepL, and Baidu.
Translators is a Python library that provides a unified interface to access over 39 free online translation services, such as Google Translate, DeepL, Bing, and Baidu. It solves the problem of needing multiple API keys and different integration methods by offering a single, consistent way to fetch translations from various providers.
Python developers, students, and researchers who need to incorporate machine translation into their applications, scripts, or learning projects without managing complex API setups.
Developers choose Translators for its simplicity, extensive service coverage, and cost-free access. Its unique selling point is aggregating dozens of translation engines into one lightweight library, eliminating the need for individual service integrations.
Translators is a library that aims to bring free, multiple, enjoyable translations to individuals and students in Python. 「翻译官」是一个旨在用Python为个人和学生带来免费、多样、愉快翻译的库。
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Aggregates 39+ translation engines including Google, Bing, DeepL, and Alibaba, providing a single interface to access numerous free services without managing individual API keys.
Supports hundreds of languages, with services like Niutrans offering up to 452 languages, making it ideal for translating rare or less common tongues.
Can translate both plain text and HTML content, as shown in the README with separate examples for q_text and q_html, preserving structure when needed.
Includes built-in async support and session pre-acceleration via preaccelerate_and_speedtest(), improving request speed for batch translations.
Depends on free web services that can be unstable or change without notice, as indicated by status markers like 'offline in China inland' for Google and inconsistent stability across providers.
The translate_text function has over 20 optional parameters, such as professional_field and various session controls, which can be overwhelming and error-prone for simple use cases.
Uses unofficial APIs or web scraping, which may violate terms of service of translation providers and pose risks for commercial or large-scale use without official licensing.