tessl install tessl/pypi-influxdb-client@1.49.0Comprehensive Python client library for InfluxDB 2.x with sync/async APIs for writing, querying, and managing time series data.
Agent Success
Agent success rate when using this tile
82%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.19x
Baseline
Agent success rate without this tile
69%
A utility that manages secure connections to InfluxDB 2.x instances using token-based authentication and validates connection health.
@generates
class ConnectionManager:
"""Manages authenticated connections to InfluxDB instances."""
def __init__(self, url: str, token: str, org: str):
"""
Initialize the connection manager with InfluxDB credentials.
Args:
url: The InfluxDB server URL (e.g., "http://localhost:8086")
token: Authentication token for InfluxDB
org: Organization name or ID
"""
pass
def connect(self) -> bool:
"""
Establish connection to InfluxDB and verify it's working.
Returns:
bool: True if connection and authentication successful
Raises:
Exception: If unable to authenticate or connect to server
"""
pass
def close(self):
"""Close the InfluxDB connection and cleanup resources."""
passProvides Python client library for InfluxDB 2.x with token-based authentication support.
@satisfied-by