CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-dnspython

DNS toolkit for Python supporting almost all record types with high-level and low-level DNS operations

85

1.37x
Overview
Eval results
Files

rubric.jsonevals/scenario-2/

{
  "context": "Evaluates whether the solution uses dnspython's domain modeling and IDNA codecs to normalize domains, render Unicode, and analyze hierarchy without manual string parsing.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "IDNA parsing",
      "description": "Parses raw domain input with dns.name.from_unicode or dns.name.from_text(..., idna_codec=dns.name.IDNA_2008, relativize=False) to obtain Name objects instead of manual punycode/string handling.",
      "max_score": 25
    },
    {
      "name": "Canonical ASCII",
      "description": "Produces lowercase absolute output via Name.to_text(omit_final_dot=False) after ensuring names are absolute with dns.name.root/Name.derelativize, avoiding handcrafted concatenation or trimming.",
      "max_score": 20
    },
    {
      "name": "Unicode output",
      "description": "Renders Unicode forms using Name.to_unicode(omit_final_dot=False, idna_codec=dns.name.IDNA_2008) rather than manual encoding/decoding logic.",
      "max_score": 15
    },
    {
      "name": "Hierarchy checks",
      "description": "Determines containment with Name.is_subdomain or related Name comparisons (not string suffix checks) after normalizing both names to canonical Name objects.",
      "max_score": 20
    },
    {
      "name": "Suffix derivation",
      "description": "Computes longest common suffix by working with Name.labels/Name.parent slices or constructing new Name objects, returning results with Name.to_text; avoids manual string splitting.",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-dnspython

tile.json