CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-googletrans

An unofficial Google Translate API for Python providing free text translation and language detection capabilities

Overall
score

100%

Evaluation100%

1.01x

Agent success when using this tile

Overview
Eval results
Files

Evaluation results

100%

Translation Context Manager

Async Context Manager Support

Criteria
Without context
With context

Translator instantiation

100%

100%

Async context manager

100%

100%

Translate method call

100%

100%

Parameter handling

100%

100%

Result extraction

100%

100%

100%

Multi-Language Welcome Message System

Text Translation

Criteria
Without context
With context

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%

100%

10%

Robust Translation Service

Advanced Error Handling

Criteria
Without context
With context

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%

100%

Multi-Language Text Validator

Language Code Handling

Criteria
Without context
With context

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%

100%

Translation Service with Timeout Handling

Timeout Configuration

Criteria
Without context
With context

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%

100%

Multi-Language Content Processor

Advanced Type System

Criteria
Without context
With context

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%

100%

Multi-Environment Translation Service

Translator Initialization and Configuration

Criteria
Without context
With context

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%

100%

Multi-Language Content Analyzer

Language Detection

Criteria
Without context
With context

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%

100%

Translation Service Comparator

Token Generation Mechanism

Criteria
Without context
With context

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%

100%

4%

Translation Service with Proxy Support

Advanced Proxy Configuration

Criteria
Without context
With context

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.0

Evaluated

Agent

Codex

Table of Contents