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 Provenance Actions
ais_client-0.1.0.tar.gz 3.2 kB Without provenance Details for ais_client-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ais-client 0.1.0
File Interpreter ABI Platform Actions
ais_client-0.1.0-py3-none-any.whl Python 3 none any Details for ais_client-0.1.0-py3-none-any.whl

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

Security for ais-client 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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