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.2.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for influxql_client-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1521a0aee6ee8fb9c0d4bc9ca532cc299d1f01584830e92b34df5e4a78c381c1 |
|
MD5 | eaaedd88c58cf02c01a58d6b26dfca33 |
|
BLAKE2b-256 | 846b0d765b67dc2c1e8afe2fa1aaf5f260e0afe047a60a4ced91cfc9a13fc091 |