Skip to main content

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)

Source distribution for ais-client 0.1.0
File Size Uploaded
ais_client-0.1.0.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ais-client 0.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page