CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-pip

The PyPA recommended tool for installing Python packages.

91

1.07x
Overview
Eval results
Files

rubric.jsonevals/scenario-6/

{
  "context": "This evaluation criteria assesses how effectively an engineer uses pip's internal APIs and command-line interface to implement package listing functionality with filtering capabilities. The focus is on proper utilization of pip's package discovery, metadata retrieval, and filtering mechanisms.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Package discovery",
      "description": "Uses pip's APIs (such as pip._internal.metadata or pkg_resources) to discover and enumerate installed packages in the environment",
      "max_score": 20
    },
    {
      "name": "Metadata extraction",
      "description": "Extracts package metadata including name, version, location, and installation type (editable vs regular) using pip's metadata APIs",
      "max_score": 15
    },
    {
      "name": "Outdated detection",
      "description": "Implements outdated package detection by querying package indexes to compare installed versions with latest available versions, utilizing pip's index querying capabilities",
      "max_score": 20
    },
    {
      "name": "Installation filtering",
      "description": "Correctly filters packages by installation type (editable, local/user vs system) using pip's distribution metadata and location information",
      "max_score": 15
    },
    {
      "name": "Columnar output",
      "description": "Formats output in columnar format similar to pip list, displaying package names and versions in an organized tabular structure",
      "max_score": 10
    },
    {
      "name": "Freeze format",
      "description": "Implements freeze format output that produces valid requirement specifier strings (name==version format) suitable for requirements files",
      "max_score": 10
    },
    {
      "name": "JSON output",
      "description": "Produces valid JSON output containing structured package data including metadata fields like name, version, and location",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-pip

tile.json