tessl install tessl/pypi-googletrans@4.0.0An unofficial Google Translate API for Python providing free text translation and language detection capabilities
Agent Success
Agent success rate when using this tile
100%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.01x
Baseline
Agent success rate without this tile
99%
Build a tool that compares translation results from different service endpoint configurations.
Create a Python module that compares how translations behave when using different service endpoints:
The tool should:
For a given text and target language:
@generates
from typing import List, Dict
async def compare_translations(
text: str,
dest_lang: str,
service_urls: List[str]
) -> Dict[str, str]:
"""
Compare translations of the same text across different service endpoints.
Args:
text: The text to translate
dest_lang: Target language code (e.g., 'es', 'fr', 'ja')
service_urls: List of service URLs to use for translation
Returns:
Dictionary mapping service URL to translated text
"""
passProvides translation services with configurable backend URLs.
@satisfied-by