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-9/

{
  "context": "This criteria evaluates how well the engineer uses Cloudinary's Django template tags to generate image URLs and HTML elements with appropriate transformations. The focus is on correct usage of cloudinary_tag, cloudinary_url, and transformation parameters.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Load cloudinary tags",
      "description": "Template correctly loads cloudinary template tags using {% load cloudinary %} at the beginning",
      "max_score": 10
    },
    {
      "name": "Use cloudinary_tag",
      "description": "Uses cloudinary_tag template tag (not cloudinary_url) to generate <img> HTML elements for thumbnails and medium images",
      "max_score": 25
    },
    {
      "name": "Use cloudinary_url",
      "description": "Uses cloudinary_url template tag (not cloudinary_tag) to generate URL strings for the large image links",
      "max_score": 25
    },
    {
      "name": "Thumbnail transformations",
      "description": "Correctly applies transformation parameters for thumbnails: width=200, height=200, crop='fill' (or crop='thumb')",
      "max_score": 15
    },
    {
      "name": "Medium image transformations",
      "description": "Correctly applies transformation parameters for medium images: width=400, height=300, crop='fill', and quality='auto'",
      "max_score": 15
    },
    {
      "name": "Large URL transformations",
      "description": "Correctly applies transformation parameters for large URLs: width=800, height=600, crop='fit'",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-cloudinary

tile.json