influxql-client 0.0.3

Creator: bradpython12

Last updated:

Add to Cart

Description:

influxqlclient 0.0.3

InfluxDB InfluxQL Client
Temporarily filling in the gap to query influxdb using InfluxQL rather than Flux
Package was created for a specific use case, but will be maintained. PRs welcomed + feature requests welcomed.
Usage
from influxdb_influxql_client import InfluxQLClient

ic = InfluxQLClient('http://mocked.local:8086', 'database')

# Given this uses requests library, it is possible to update the session to handle basic auth/proxies etc
# For example, disabling SSL verification
ic.sh.verify = False

results = ic.query_api().query("select 1")

for result in results.results:
for series in result.series:
print(series.values)

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.