Skip to main content

quorum-api (Python)

The typed Python client for the Quorum market evidence API. Written against spec/openapi.yaml, which is the contract. Standard library only: no dependencies, and the transport is injectable so the tests run with no network at all.

Errors are values, never raised. Retry-After is honoured, and wait_for_report implements the polling loop correctly once so every caller does not implement it wrongly.

from quorum_api import QuorumClient

client = QuorumClient("https://quorum-api-j15n.onrender.com", api_key="qk_...")

accepted = client.create_report("running shoes", terms=["sizing"])
if accepted.ok:
    report = client.wait_for_report(accepted.data["id"])
    if report.ok:
        for finding in report.data["findings"]:
            print(finding["term"], finding["records"], "records")

# Every receipt id resolves back to the real record behind it.
record = client.get_evidence("rc_4d6d444821b0044f")

Not yet published to PyPI. Install from the repo:

pip install packages/sdk-py

Tests: python3 -m unittest discover -s packages/sdk-py/tests

Release files for quorum-api 0.1.0

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

Source distribution (sdist)

Source distribution for quorum-api 0.1.0
File Size Uploaded
quorum_api-0.1.0.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quorum-api 0.1.0
File Interpreter ABI Platform
quorum_api-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 kB

Release files / quorum_api-0.1.0.tar.gz

Download URL quorum_api-0.1.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
afee76c4d68e4f6ea1a35f9fc716f740aaea5acef67fde5f5181078abaf892fb
BLAKE2b-256 checksum
How to use checksums
8befa6906dab333844097e3a81db9af0846a182607d827b67652fbb9f5cbe079
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / quorum_api-0.1.0-py3-none-any.whl

Download URL quorum_api-0.1.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab9aca5d1ba0937eaa83bf39ec050f415fb67b19ad2cb318aa75d8fe62a55b2f
BLAKE2b-256 checksum
How to use checksums
e93e38fd8822cc61f1a09e11307ca8de464774c765046ad74df97787ee4c46f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

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