# 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
```python
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)
```
Raw data
{
"_id": null,
"home_page": "",
"name": "influxql-client",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "InfluxDB,InfluxDB Python Client,InfluxQL",
"author": "",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/a5/d1/37619f2df026cbbf3d02c9ba871f6bf2b6669ffb385161bc837bd4222700/influxql_client-0.0.1.tar.gz",
"platform": null,
"description": "# InfluxDB InfluxQL Client\n\nTemporarily filling in the gap to query influxdb using InfluxQL rather than Flux\n\nPackage was created for a specific use case, but will be maintained. PRs welcomed + feature requests welcomed.\n\n## Usage\n\n\n```python\nfrom influxdb_influxql_client import InfluxQLClient\n\nic = InfluxQLClient('http://mocked.local:8086', 'database')\n\n# Given this uses requests library, it is possible to update the session to handle basic auth/proxies etc\n# For example, disabling SSL verification\nic.sh.verify = False\n\nresults = ic.query_api().query(\"select 1\")\n\nfor result in results.results:\n for series in result.series:\n print(series.values)\n\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "InfluxDB InfluxQL Basic Library",
"version": "0.0.1",
"project_urls": null,
"split_keywords": [
"influxdb",
"influxdb python client",
"influxql"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ff8601ca927e21394a5fe5c481e0ce2d727ab7d8b73def2d6b3c4e48f8474916",
"md5": "e611c793dffcc14c33f20b12a87ac940",
"sha256": "0f39ecfec760c48c88f0000dbdc4ac6e9413cd6069573e57414bc94298014914"
},
"downloads": -1,
"filename": "influxql_client-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e611c793dffcc14c33f20b12a87ac940",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 5434,
"upload_time": "2023-05-12T16:21:01",
"upload_time_iso_8601": "2023-05-12T16:21:01.688073Z",
"url": "https://files.pythonhosted.org/packages/ff/86/01ca927e21394a5fe5c481e0ce2d727ab7d8b73def2d6b3c4e48f8474916/influxql_client-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a5d137619f2df026cbbf3d02c9ba871f6bf2b6669ffb385161bc837bd4222700",
"md5": "6f3cc7b976eed6362e9429a0c81fd679",
"sha256": "4c3650789aef2af0ea29221140e52c2d40f8ba47c8bf809e8fc2e4385c492e69"
},
"downloads": -1,
"filename": "influxql_client-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "6f3cc7b976eed6362e9429a0c81fd679",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 3974,
"upload_time": "2023-05-12T16:21:03",
"upload_time_iso_8601": "2023-05-12T16:21:03.640680Z",
"url": "https://files.pythonhosted.org/packages/a5/d1/37619f2df026cbbf3d02c9ba871f6bf2b6669ffb385161bc837bd4222700/influxql_client-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-12 16:21:03",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "influxql-client"
}