CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-cloudinary

Python and Django SDK for Cloudinary, a cloud-based image and video management service with comprehensive transformation, optimization, and delivery capabilities

Overall
score

94%

Overview
Eval results
Files

rubric.jsonevals/scenario-8/

{
  "context": "This criteria evaluates how well an engineer uses the Cloudinary Python SDK's signed search URL functionality, specifically focusing on proper usage of the Search class and its to_url() method with TTL configuration.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Search class usage",
      "description": "Uses cloudinary.Search() class to construct search queries and generate URLs",
      "max_score": 25
    },
    {
      "name": "to_url() method",
      "description": "Uses the Search.to_url() method to generate signed search URLs instead of manually constructing URLs",
      "max_score": 25
    },
    {
      "name": "TTL parameter",
      "description": "Correctly passes ttl parameter to to_url() method to control URL expiration time (e.g., search.to_url(ttl=600))",
      "max_score": 20
    },
    {
      "name": "expression() method",
      "description": "Uses Search.expression() method to set search query strings before generating URLs",
      "max_score": 15
    },
    {
      "name": "Default TTL handling",
      "description": "Correctly handles default TTL (300 seconds) by calling to_url() without ttl parameter when appropriate",
      "max_score": 10
    },
    {
      "name": "Multiple TTL values",
      "description": "Demonstrates ability to generate URLs with different TTL values (60 seconds, 300 seconds, 3600 seconds) as required by the spec",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-cloudinary

tile.json