InfluxDB InfluxQL Basic Library
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
influxql_client-0.0.3.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for influxql_client-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bd758b331de729ab3feb38d9d47ec621e37a9aa5bdf7c6638090e22de94eb47 |
|
MD5 | 8120310667717a6545640c6c72919da4 |
|
BLAKE2b-256 | 1fd163674c4ac8f789b670ca46864e04dec1cec1150a011a3cd2132c481af6a2 |