AIS Python Client
Lightweight Python wrapper for the AI Immune System (AIS) API.
Install (after release)
pip install ais-client
Quick Use
from ais_client import AISClient
client = AISClient(api_key="YOUR_API_KEY", base_url="https://your-ais.example")
res = client.run(
json={"amount": "42"},
schema={"type": "object", "properties": {"amount": {"type": "number"}}, "required": ["amount"]},
)
print(res.ok, res.final, res.repairs)
Environment vars: AIS_API_KEY, AIS_BASE_URL can substitute for args.
Status
Alpha: minimal endpoint coverage (only /v1/immune/run). PRs welcome for admin & billing helpers.
License
Apache 2.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ais_client-0.1.0.tar.gz
(3.2 kB
view details)
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 ais_client-0.1.0.tar.gz.
File metadata
- Download URL: ais_client-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5fa7da2fe0d2ff35b0b7e82398d1ee05bbfe0ea9d3210abba1e651250de2248
|
|
| MD5 |
3632e295b30948941d8758dbd4896405
|
|
| BLAKE2b-256 |
b22c584500e5658c41ce3d3fa613fe3c908e9a60340fcd624e8cfd071f330a33
|
File details
Details for the file ais_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ais_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
253f6f7ed1e43aaa1bc1da45ca8e41e54a361e9ee3c9c2900d432cf12fdb7e82
|
|
| MD5 |
0b09a81d404ba885d5822c437210698a
|
|
| BLAKE2b-256 |
eb6ba22d14d758bc446bc1a8e20e413b38ed60a1eb593b99286e6a22337709b1
|