CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-influxdb-client

Comprehensive Python client library for InfluxDB 2.x with sync/async APIs for writing, querying, and managing time series data.

82

1.18x
Overview
Eval results
Files

rubric.jsonevals/scenario-9/

{
  "context": "This criteria evaluates how well the engineer uses the influxdb-client-python package's synchronous write mode capabilities. The focus is on properly configuring the write API for synchronous operations, using Point objects to structure data, and handling timestamp precision correctly.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Synchronous Write API",
      "description": "Uses write_api() with write_options=SYNCHRONOUS to create a synchronous write API instance that blocks until each write completes",
      "max_score": 30
    },
    {
      "name": "Point Object Usage",
      "description": "Uses Point class from influxdb_client to construct data points with measurement(), tag(), and field() methods rather than raw line protocol strings",
      "max_score": 25
    },
    {
      "name": "Timestamp Precision",
      "description": "Uses WritePrecision enum (NS, US, MS, S) and passes the write_precision parameter to write() method to control timestamp precision",
      "max_score": 20
    },
    {
      "name": "Write Method",
      "description": "Uses the write() method of the write API with correct parameters: bucket name, Point object(s), and optional write_precision",
      "max_score": 15
    },
    {
      "name": "Point Time Setting",
      "description": "Uses the time() method on Point objects to set timestamps with appropriate values for the specified precision",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-influxdb-client

tile.json