Comprehensive Python client library for InfluxDB 2.x with sync/async APIs for writing, querying, and managing time series data.
82
{
"context": "This criteria evaluates how well the engineer uses the influxdb-client-python package to implement basic query operations. The focus is on proper use of the InfluxDBClient, query_api, Flux query language syntax, and result processing methods.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Client initialization",
"description": "Uses InfluxDBClient class to initialize a connection with url, token, and org parameters",
"max_score": 15
},
{
"name": "QueryApi acquisition",
"description": "Obtains query API using client.query_api() method",
"max_score": 10
},
{
"name": "Flux query syntax",
"description": "Constructs valid Flux queries using from() function with bucket parameter and range() function for time filtering",
"max_score": 25
},
{
"name": "Query execution",
"description": "Executes queries using query_api.query() method or similar query methods (query_stream, query_data_frame)",
"max_score": 15
},
{
"name": "Predicate filtering",
"description": "Uses Flux filter() function with proper predicate syntax (r[\"tag_name\"] == \"value\") to filter by tags",
"max_score": 20
},
{
"name": "Result processing",
"description": "Processes FluxTable and FluxRecord objects to extract measurement, tags, fields, and timestamps from query results",
"max_score": 10
},
{
"name": "Connection cleanup",
"description": "Properly closes the client connection using client.close() or context manager pattern",
"max_score": 5
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-influxdb-clientdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10