Name | kognic-query JSON |
Version |
3.0.1
JSON |
| download |
home_page | |
Summary | Kognic Query |
upload_time | 2023-11-22 14:50:09 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.8 |
license | MIT |
keywords |
kognic
api
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Kognic Query API Client
Python 3 library providing access to the Kognic Query API.
To install with pip run `pip install kognic-query`
Set env KOGNIC_CREDENTIALS, see [kognic-auth](https://github.com/annotell/annotell-python/tree/master/kognic-auth).
## Judgement Query Example
Stream all items matching a query
```python
from kognic.query.query_api_client import QueryApiClient
query_client = QueryApiClient()
resp = query_client.query_judgements(query_filter="requestId = X")
for item in resp.items():
print(item)
```
## Change log
### 3.0.0
- Rebranded from Annotell to Kognic
### 2.5.0
- A new base Query client that can be inherrited for other applications
### 2.4.1
- Use `annotell-auth[requests]>=2.0.0`
### 2.3.0
- Use `annotell-auth>=1.6`
- Remove metadata queries
### 2.2.0
- Use `annotell-auth>=1.5` with fault tolerant auth request session
### 2.1.0
- Use server default query limits
### 2.0.0
- Rename library to `annotell-query`
- Rename `QueryApi` to `QueryApiClient`
- Add KPI query method
### 1.3.0
- Change constructor for authentication to only accept `auth`.
Raw data
{
"_id": null,
"home_page": "",
"name": "kognic-query",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "Kognic,API",
"author": "",
"author_email": "Michel Edkrantz <michel.edkrantz@kognic.com>",
"download_url": "https://files.pythonhosted.org/packages/d2/c9/67e7da49822f64d27a7e33789dda8eb6b75cf1a61286f4aa0f688617e5ed/kognic-query-3.0.1.tar.gz",
"platform": null,
"description": "# Kognic Query API Client\n\nPython 3 library providing access to the Kognic Query API. \n\nTo install with pip run `pip install kognic-query`\n\nSet env KOGNIC_CREDENTIALS, see [kognic-auth](https://github.com/annotell/annotell-python/tree/master/kognic-auth). \n\n## Judgement Query Example\nStream all items matching a query\n```python\nfrom kognic.query.query_api_client import QueryApiClient\nquery_client = QueryApiClient()\nresp = query_client.query_judgements(query_filter=\"requestId = X\")\nfor item in resp.items():\n print(item)\n```\n\n## Change log\n\n### 3.0.0\n- Rebranded from Annotell to Kognic\n\n### 2.5.0\n- A new base Query client that can be inherrited for other applications \n\n### 2.4.1\n- Use `annotell-auth[requests]>=2.0.0`\n\n### 2.3.0\n- Use `annotell-auth>=1.6`\n- Remove metadata queries\n\n### 2.2.0\n- Use `annotell-auth>=1.5` with fault tolerant auth request session\n\n### 2.1.0\n- Use server default query limits \n\n### 2.0.0\n- Rename library to `annotell-query`\n- Rename `QueryApi` to `QueryApiClient`\n- Add KPI query method\n\n### 1.3.0\n- Change constructor for authentication to only accept `auth`. \n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Kognic Query",
"version": "3.0.1",
"project_urls": {
"homepage": "https://github.com/annotell/kognic-query-python"
},
"split_keywords": [
"kognic",
"api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cf633b8c34676527baea8c4af86d86c8856c0007b660efc56efd9b3b438b97af",
"md5": "d613ca4f81853b8f173b8c5cb042995c",
"sha256": "3c6b0625ad591f4adea64469db29252197ac34a342f6d8b366f0adb8f50ddcb9"
},
"downloads": -1,
"filename": "kognic_query-3.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d613ca4f81853b8f173b8c5cb042995c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 4894,
"upload_time": "2023-11-22T14:50:07",
"upload_time_iso_8601": "2023-11-22T14:50:07.640602Z",
"url": "https://files.pythonhosted.org/packages/cf/63/3b8c34676527baea8c4af86d86c8856c0007b660efc56efd9b3b438b97af/kognic_query-3.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d2c967e7da49822f64d27a7e33789dda8eb6b75cf1a61286f4aa0f688617e5ed",
"md5": "d426d6ea5e0e694a253a331c8f98fe21",
"sha256": "51dcdcee0dba2fe9a27d10ae108ae819eaf07298842f71647369fdb89b6135d9"
},
"downloads": -1,
"filename": "kognic-query-3.0.1.tar.gz",
"has_sig": false,
"md5_digest": "d426d6ea5e0e694a253a331c8f98fe21",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 5973,
"upload_time": "2023-11-22T14:50:09",
"upload_time_iso_8601": "2023-11-22T14:50:09.447048Z",
"url": "https://files.pythonhosted.org/packages/d2/c9/67e7da49822f64d27a7e33789dda8eb6b75cf1a61286f4aa0f688617e5ed/kognic-query-3.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-22 14:50:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "annotell",
"github_project": "kognic-query-python",
"github_not_found": true,
"lcname": "kognic-query"
}