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.1.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for influxql_client-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f39ecfec760c48c88f0000dbdc4ac6e9413cd6069573e57414bc94298014914 |
|
MD5 | e611c793dffcc14c33f20b12a87ac940 |
|
BLAKE2b-256 | ff8601ca927e21394a5fe5c481e0ce2d727ab7d8b73def2d6b3c4e48f8474916 |