An unofficial Google Translate API for Python providing free text translation and language detection capabilities
Overall
score
100%
Evaluation — 100%
↑ 1.01xAgent success when using this tile
A translation service that handles network timeouts gracefully when performing language translation operations.
@generates
async def translate_text(text: str, target_language: str) -> str:
"""
Translates the given text to the target language using a translator
with configured timeouts.
Args:
text: The text to translate
target_language: The target language code (e.g., 'es', 'fr', 'de')
Returns:
The translated text as a string
"""
passProvides translation capabilities with timeout configuration support.
Install with Tessl CLI
npx tessl i tessl/pypi-googletrans@4.0.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10