CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-googletrans

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

100

1.02x
Quality

Does it follow best practices?

Impact

100%

1.02x

Average score across 10 eval scenarios

SecuritybySnyk

The risk profile of this skill

This plugin was archived by the owner on Jun 4, 2026

Reason: Retiring all tiles created prior to the transition to plugin support

Overview
Eval results
Files

criteria.jsonevals/scenario-5/

{
  "context": "This criteria evaluates the engineer's ability to properly configure timeout settings for the googletrans Translator using httpx's Timeout object. The focus is on correctly instantiating the Translator with appropriate timeout parameters for connection, read, and write operations.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Imports Timeout object",
      "description": "The solution imports the Timeout class from httpx (e.g., 'from httpx import Timeout')",
      "max_score": 15
    },
    {
      "name": "Imports Translator class",
      "description": "The solution imports the Translator class from googletrans (e.g., 'from googletrans import Translator')",
      "max_score": 10
    },
    {
      "name": "Creates Timeout object",
      "description": "The solution creates a Timeout object with the specified timeout values (connect=3.0, read=10.0, write=3.0)",
      "max_score": 25
    },
    {
      "name": "Passes timeout parameter",
      "description": "The solution passes the Timeout object to the Translator constructor using the 'timeout' parameter",
      "max_score": 20
    },
    {
      "name": "Uses async context manager",
      "description": "The solution uses 'async with Translator(...) as translator' pattern for proper resource management",
      "max_score": 15
    },
    {
      "name": "Calls translate method",
      "description": "The solution calls the translator.translate() method with appropriate parameters (text and dest language)",
      "max_score": 10
    },
    {
      "name": "Returns translated text",
      "description": "The solution correctly extracts and returns the translated text from the Translated result object (e.g., result.text)",
      "max_score": 5
    }
  ]
}

tile.json