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
Async Context Manager Support
Translator instantiation
100%
100%
Async context manager
100%
100%
Translate method call
100%
100%
Parameter handling
100%
100%
Result extraction
100%
100%
Text Translation
Translator instantiation
100%
100%
Async context manager
100%
100%
translate() method usage
100%
100%
Result object handling
100%
100%
Source language extraction
100%
100%
Async/await pattern
100%
100%
Advanced Error Handling
Translator Initialization
100%
100%
Async Context Manager
80%
100%
Translation Method Usage
100%
100%
Detection Method Usage
100%
100%
Silent Mode Handling
40%
100%
Explicit Mode Handling
100%
100%
Result Property Access
80%
100%
Language Code Handling
Translator instantiation
100%
100%
Language detection
100%
100%
Language validation
100%
100%
Language normalization
100%
100%
Confidence access
100%
100%
Proper async handling
100%
100%
Timeout Configuration
Imports Timeout object
100%
100%
Imports Translator class
100%
100%
Creates Timeout object
100%
100%
Passes timeout parameter
100%
100%
Uses async context manager
100%
100%
Calls translate method
100%
100%
Returns translated text
100%
100%
Advanced Type System
Translator import
100%
100%
Type imports
100%
100%
Async translate usage
100%
100%
Async detect usage
100%
100%
Union type annotations
100%
100%
Return type annotations
100%
100%
Batch translation
100%
100%
Batch detection
100%
100%
Resource management
100%
100%
Translator Initialization and Configuration
Translator Import
100%
100%
Production service_urls Configuration
100%
100%
Production http2 Setting
100%
100%
Production raise_exception Setting
100%
100%
Development service_urls Configuration
100%
100%
Development raise_exception Setting
100%
100%
Development user_agent Setting
100%
100%
Restricted service_urls Configuration
100%
100%
Restricted http2 Setting
100%
100%
Restricted raise_exception Setting
100%
100%
Language Detection
Translator Initialization
100%
100%
Async Context Management
100%
100%
detect() Method Usage
100%
100%
Detected Object Handling
100%
100%
Batch Detection
100%
100%
Async/Await Pattern
100%
100%
Language Code Access
100%
100%
Confidence Score Access
100%
100%
Token Generation Mechanism
Translator initialization
100%
100%
Service URL handling
100%
100%
Async context manager
100%
100%
Translation execution
100%
100%
Result extraction
100%
100%
Multiple configurations
100%
100%
Advanced Proxy Configuration
Translator initialization
100%
100%
String proxy format
87%
100%
Dict proxy format
100%
100%
httpx.Proxy authentication
100%
100%
Async context manager
87%
100%
translate() method usage
100%
100%
Proxy reconfiguration
100%
100%
Install with Tessl CLI
npx tessl i tessl/pypi-googletrans@4.0.0Evaluated
Agent
Codex
Table of Contents