CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-pylibmc

Quick and small memcached client for Python

86

1.03x
Overview
Eval results
Files

rubric.jsonevals/scenario-3/

{
  "context": "Evaluates whether the client factory uses pylibmc to construct ready-to-use cache clients across TCP, UDP, and UNIX transports. Confirms it flips the binary protocol switch appropriately and handles SASL authentication when credentials are provided.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Pylibmc client",
      "description": "Uses pylibmc.Client to create the cache client from the provided server list instead of reimplementing transport handling.",
      "max_score": 30
    },
    {
      "name": "Transport strings",
      "description": "Passes TCP host:port values, udp:-prefixed addresses, and UNIX socket paths directly to pylibmc.Client so the library selects the appropriate transport without altering formats.",
      "max_score": 20
    },
    {
      "name": "Binary toggle",
      "description": "Respects config.use_binary by setting binary=True on pylibmc.Client when requested while leaving it False otherwise, even with mixed server definitions.",
      "max_score": 15
    },
    {
      "name": "SASL setup",
      "description": "When username and password are provided, enables binary protocol and supplies pylibmc.Client with username/password for SASL; rejects partial credentials before constructing the client.",
      "max_score": 25
    },
    {
      "name": "Ready for ops",
      "description": "Initializes the returned pylibmc client enough to perform basic set/get calls immediately (no extra manual socket configuration required).",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-pylibmc

tile.json