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

{
  "context": "Evaluates whether the solution relies on dnspython's RDATA and RRset helpers to build record sets, serialize them to wire format, and parse them back while preserving canonical ordering and deduplication. Points reward direct use of the library's text and wire conversion APIs instead of manual string handling or byte packing.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "RRset builder",
      "description": "Constructs RRsets with dnspython helpers such as dns.rrset.from_text or dns.rrset.from_rdata using the provided name, TTL, class, and type instead of assembling records manually.",
      "max_score": 25
    },
    {
      "name": "RDATA parsing",
      "description": "Converts each textual RDATA string with dns.rdata.from_text (or dns.rdataset.from_text when batching) so type-specific parsing and validation are handled by the library.",
      "max_score": 20
    },
    {
      "name": "Wire serialization",
      "description": "Uses RRset.to_wire (or an rdataset to_wire with dns.name.Name origin) to emit the wire-format bytes rather than crafting byte arrays manually.",
      "max_score": 20
    },
    {
      "name": "Wire parsing",
      "description": "Rehydrates RRsets from bytes with dns.rrset.from_wire or dns.rdata.from_wire plus RRset construction instead of custom wire decoding logic.",
      "max_score": 20
    },
    {
      "name": "Canonical order & dedup",
      "description": "Relies on rdataset/RRset set semantics and library ordering (e.g., rdataset.add, RRset.to_text canonical ordering) to remove duplicate RDATA and keep records sorted, avoiding ad-hoc sorting or duplicate suppression.",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-dnspython

tile.json