Python SDK for dispatcher business and proxy APIs
Project description
aiyou-client
Reusable async clients for dispatcher APIs.
Response Model
Low-level verbs such as get(), post(), put(), patch(), delete(),
and send() return a transparent ResultResponse wrapper.
The wrapper behaves like httpx.Response for normal access such as
status_code, headers, content, text, json(), request, and
stream-reading helpers, while also providing convenience methods:
with_config(model=..., rc_response=...)json_or_none()/json_or_raise()text_or_none()/text_or_raise()content_or_none()/content_or_raise()rc_result_or_none()/rc_result_or_raise()pydantic_or_none()/pydantic_or_raise()pydantic_list_or_none()/pydantic_list_or_raise()
Use *_or_none() for soft-failure flows and *_or_raise() when the caller
expects success.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aiyou_client-0.1.2.tar.gz.
File metadata
- Download URL: aiyou_client-0.1.2.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
255e006a2e961613d7e2098e0897a97989e9ce084f51a2114a9f79cfdbdc28f0
|
|
| MD5 |
372ed692c2b67f2896cf1015016c790e
|
|
| BLAKE2b-256 |
1c3c4fdaa9ef7c03f6af8a67f54e8c1900e581848c80a9c5bd86c7afda6db915
|
File details
Details for the file aiyou_client-0.1.2-py3-none-any.whl.
File metadata
- Download URL: aiyou_client-0.1.2-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ef66c801cd4b2d9197dbf4b3a944309de082881aaf5be4febba0d3497a9ba4d
|
|
| MD5 |
883c43cc9b4a1722f7f5b3f6006d68c9
|
|
| BLAKE2b-256 |
d0348f3c9153a86fbecf2463f7fe9c5c887bfb714579c30bf178f4651a8c9c58
|