This release is a pre-release and may not be stable for production use.
Agora SDK (Python)
Clean, typed access to the Agora API with both sync and async clients.
Features
- Sync and async clients
- Clear error hierarchy with HTTP status mapping
- Minimal dependencies
Install
python -m pip install agora-sdk
Quickstart
from agora import AgoraClient
client = AgoraClient(base_url="http://localhost:8000", token="your-api-key")
print(client.market.health())
Async
import asyncio
from agora import AsyncAgoraClient
async def main() -> None:
async with AsyncAgoraClient(
base_url="http://localhost:8000",
token="your-api-key",
) as client:
print(await client.market.health())
asyncio.run(main())
Configuration
You can also use environment variables:
AGORA_API_KEYAGORA_BASE_URLAGORA_ENV(dev,development,local)
Development
Run the same checks as CI:
bash scripts/ci_local.sh
Run CI in a container:
bash scripts/ci_docker.sh
Examples
See examples/ for end-to-end usage patterns.
Metadata
Release files for agora-sdk 1.0.0a4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agora_sdk-1.0.0a4.tar.gz | 25.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agora_sdk-1.0.0a4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.4 kB
Release files / agora_sdk-1.0.0a4.tar.gz
| Download URL | agora_sdk-1.0.0a4.tar.gz |
|---|---|
| Size | 25.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d21766e17720f7e04d93fe065e7ca500bc70c0c284d02623beb0abf81d15a1b3
|
|
BLAKE2b-256 checksum How to use checksums |
6335ecc6b53938e914fedde50bdc1886f9c876222ad9efe2b2ed5e9214f728a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 12, 2026.
Transparency logRelease files / agora_sdk-1.0.0a4-py3-none-any.whl
| Download URL | agora_sdk-1.0.0a4-py3-none-any.whl |
|---|---|
| Size | 27.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c450c1d8aecc4f24f4f54d960bfc176d3fbea466599d89fd93534c63eef11ab
|
|
BLAKE2b-256 checksum How to use checksums |
291420bc44befc8792d63b4036474139671aad55bad10ac8d366470d1a873ce1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 12, 2026.
Transparency log