AudioKit for Python
Generated from AudioKit's OpenAPI contract; includes raw-body webhook verification. Python 3.11+.
0.1.0 release candidate — not yet on PyPI. After publication, install with pip install audiokit-ai. For local testing, install the wheel built from this directory.
import os
from audiokit_ai import AudioKit, ApiError, verify_webhook
from audiokit_ai.models import JobRequest
with AudioKit(api_key=os.environ['AUDIOKIT_API_KEY']) as client:
request: JobRequest = {
'job_id': 'my-first-job',
'operation': 'probe',
'input': {'url': signed_input_url, 'sha256': input_sha256},
'webhook': {'url': 'https://example.com/audiokit/webhook'},
}
job = client.submit_job(request)
status = client.get_job(job['provider_job_id'])
# In a webhook handler, before parsing JSON:
if not verify_webhook(raw_body, signature_header, webhook_secret):
# Return 401. Do not use the event.
raise ValueError('Invalid webhook signature')
# After verification, parse the body and deduplicate event_id.
Set base_url for another API instance. Methods include get_health, get_capabilities, get_open_api, submit_job, get_job and cancel_job. Generated models are TypedDicts, so requests and responses are ordinary dictionaries. Use the context manager or call close() to release connections.
HTTP failures raise ApiError with status and code. Network failures are native httpx exceptions. Unknown API codes are preserved; treat unfamiliar ones as internal failures. There are no automatic retries or redirects; requests have a 30-second timeout. The verifier takes raw bytes and returns a boolean with a 300-second tolerance in both time directions. Its optional now argument is Unix seconds for deterministic tests. It does not deduplicate events.
Metadata
Release files for audiokit-ai 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| audiokit_ai-0.1.0.tar.gz | 6.4 kB | With provenance | Details for audiokit_ai-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| audiokit_ai-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for audiokit_ai-0.1.0-py3-none-any.whl |
Total release size: 13.4 kB
Release files / audiokit_ai-0.1.0.tar.gz
| Download URL | audiokit_ai-0.1.0.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
824c884cf83997f2fcafb8fa948380cff106c50a125d4ed29f3ddfc0b6b3e9fa
|
|
BLAKE2b-256 checksum How to use checksums |
4ee6e23bca6233638086f52520e222e58af83c609e3806b682328a68989d34d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.
Transparency logRelease files / audiokit_ai-0.1.0-py3-none-any.whl
| Download URL | audiokit_ai-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f38d4ca7d14c749352f2acb3f9f735e123d6351bcdcb5ebe1e3ed7b92f0429d
|
|
BLAKE2b-256 checksum How to use checksums |
ef461490eba7b19c14d8b4e9fadb21b248557a84c3e773972940799298595a05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.
Transparency logSecurity for audiokit-ai 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for audiokit_ai-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.