Skip to main content

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


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)

Uploaded Source

Built Distribution

influxql_client-0.0.3-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page