Skip to main content

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.

Judgement Query Example

Stream all items matching a query

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.

Metadata

Release files for kognic-query 3.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kognic-query 3.0.1
File Size Uploaded
kognic-query-3.0.1.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kognic-query 3.0.1
File Interpreter ABI Platform
kognic_query-3.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / kognic-query-3.0.1.tar.gz

Download URL kognic-query-3.0.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
51dcdcee0dba2fe9a27d10ae108ae819eaf07298842f71647369fdb89b6135d9
BLAKE2b-256 checksum
How to use checksums
d2c967e7da49822f64d27a7e33789dda8eb6b75cf1a61286f4aa0f688617e5ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / kognic_query-3.0.1-py3-none-any.whl

Download URL kognic_query-3.0.1-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c6b0625ad591f4adea64469db29252197ac34a342f6d8b366f0adb8f50ddcb9
BLAKE2b-256 checksum
How to use checksums
cf633b8c34676527baea8c4af86d86c8856c0007b660efc56efd9b3b438b97af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

3.0.1 This release

2 release files

3.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page