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
Metadata
Release files for ais-client 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 | |
|---|---|---|---|
| ais_client-0.1.0.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ais_client-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / ais_client-0.1.0.tar.gz
| Download URL | ais_client-0.1.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5fa7da2fe0d2ff35b0b7e82398d1ee05bbfe0ea9d3210abba1e651250de2248
|
|
BLAKE2b-256 checksum How to use checksums |
b22c584500e5658c41ce3d3fa613fe3c908e9a60340fcd624e8cfd071f330a33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / ais_client-0.1.0-py3-none-any.whl
| Download URL | ais_client-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
253f6f7ed1e43aaa1bc1da45ca8e41e54a361e9ee3c9c2900d432cf12fdb7e82
|
|
BLAKE2b-256 checksum How to use checksums |
eb6ba22d14d758bc446bc1a8e20e413b38ed60a1eb593b99286e6a22337709b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|