Skip to main content

Annotell Query API Client

Project description

Annotell Query API Client

Python 3 library providing access to the Annotell Query API.

To install with pip run pip install annotell-query

Set env ANNOTELL_CREDENTIALS, see annotell-auth.

Judgement Query Example

Stream all items matching a query

from annotell.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

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.

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

annotell-query-2.5.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

annotell_query-2.5.0-py2.py3-none-any.whl (5.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file annotell-query-2.5.0.tar.gz.

File metadata

  • Download URL: annotell-query-2.5.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/62.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.12

File hashes

Hashes for annotell-query-2.5.0.tar.gz
Algorithm Hash digest
SHA256 b405492d07f311d79fd5bb67c48d1c4ba4feff849869fe19c1971726803fa01d
MD5 3656e950ea1997bb2a91d2718031e722
BLAKE2b-256 4a6a8caae890d50cbc815294eabc051c03b008aa6e2f10768adf6a09e6639906

See more details on using hashes here.

File details

Details for the file annotell_query-2.5.0-py2.py3-none-any.whl.

File metadata

  • Download URL: annotell_query-2.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/62.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.12

File hashes

Hashes for annotell_query-2.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2f36a1b30e7c36def581fceb3c3f5055d6ba147bce17f957c9be8526d57d689f
MD5 26c8a4fa429853296c709481993c4996
BLAKE2b-256 b9026aedd50efd5f56334b89c185b060b9c47f8f09cd8f31f8896c12a67a28d3

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