Clients
Python SDK
kynth on PyPI — stdlib-only (urllib), generated from the same catalog the API serves.
Install
pip install kynthUse
One method per endpoint, snake-cased. Async calls take async_=True (the bare word is a Python keyword); wait_for_job resolves on success or failure — a failed job is never charged.
app.py
import os
from kynth import Kynth
client = Kynth(api_key=os.environ["KYNTH_API_KEY"])
# Sync call
invoice = client.invoice(data=pdf_base64)
# Async job (async_ because 'async' is a Python keyword)
job = client.parse(data=big_pdf_base64, async_=True)
result = client.wait_for_job(job["jobId"])Every method's snippet, with a real example body, lives on its collection guide.