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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file influxql_client-0.0.3.tar.gz.

File metadata

  • Download URL: influxql_client-0.0.3.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for influxql_client-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e200b636548a4f1a7d4e62e3124279e9a3ef9ddb9411f1f133042796ae73998c
MD5 cae3121d196e9e9787b222bce4cc244e
BLAKE2b-256 7e1ca47f284e1550ac00a0c115821c6c7ba01795d98dd0e865ac96e6300fd4d5

See more details on using hashes here.

File details

Details for the file influxql_client-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for influxql_client-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2bd758b331de729ab3feb38d9d47ec621e37a9aa5bdf7c6638090e22de94eb47
MD5 8120310667717a6545640c6c72919da4
BLAKE2b-256 1fd163674c4ac8f789b670ca46864e04dec1cec1150a011a3cd2132c481af6a2

See more details on using hashes here.

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