Metadata-Version: 2.4
Name: auditar-sdk
Version: 0.1.0
Summary: Zero-knowledge inference instrumentation for AI decision audit.
Author-email: Auditar / Pulvan Technologies <foundersoffice@auditar.in>
License: MIT
Project-URL: Homepage, https://github.com/Pulvan/auditar-sdk
Project-URL: Documentation, https://github.com/Pulvan/auditar-sdk/blob/main/README.md
Project-URL: Repository, https://github.com/Pulvan/auditar-sdk
Project-URL: Source, https://github.com/Pulvan/auditar-sdk
Keywords: ai,governance,audit,mlops,fintech,india
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx>=0.27
Requires-Dist: pydantic>=2.0
Requires-Dist: tenacity>=8.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.24; extra == "dev"
Requires-Dist: respx>=0.21; extra == "dev"
Dynamic: license-file

# auditar-sdk

[![PyPI version](https://img.shields.io/pypi/v/auditar-sdk)](https://pypi.org/project/auditar-sdk/)
[![PyPI downloads](https://img.shields.io/pypi/dm/auditar-sdk)](https://pypistats.org/packages/auditar-sdk)
[![Python Version](https://img.shields.io/pypi/pyversions/auditar-sdk)](https://pypi.org/project/auditar-sdk/)

Zero-knowledge inference instrumentation for AI decision audit.

`pip install auditar-sdk`

- Captures inputs/outputs only — never touches model weights
- Works with scikit-learn, XGBoost, LightGBM, and custom APIs
- Decorator API or batch context manager
- Local SQLite queue for air-gapped deployments
- Sub-ms overhead

This SDK is part of the Auditar platform for regulated AI in Indian financial services.

## Quick install

```bash
pip install auditar-sdk
```

## Quickstart

```python
from auditar_sdk import AuditarClient, trace_inference

client = AuditarClient(
    workspace="retail-lend-prod",
    endpoint="https://core.auditar.io",
    default_use_case="loan",
)

@trace_inference(client, model_name="Credit-Scout-V2", use_case="loan")
def predict(income, credit_score, age, existing_debt):
    return model.predict_proba([[income, credit_score, age, existing_debt]])[0][1]

prob = predict(income=75000, credit_score=680, age=35, existing_debt=12000)
```

## From pip install to pilot

If you want audit-ready traces, RBI FREE-AI 7-Sutras mapping, and a governance dashboard without instrumenting every model yourself:

- **Free 8-week pilot**: we instrument your production models, you see results in 15 minutes.
- **No credit card. No commitment.**

Start here: [auditar.in](https://auditar.in?utm_source=github&utm_medium=sdk&utm_campaign=launch#pilot)

After install, share your source so we can follow up with the right guide:
- **GitHub / README**: post-install attribution page
- **Email outreach**: ask your founder for the pilot timeline
- **Hacker News / Reddit**: community feedback track
- **Twitter / LinkedIn**: campaign-specific case study

If you came from an email, please reply to the founder who sent it so we can fast-track your pilot.

Email us directly: [foundersoffice@auditar.in](mailto:foundersoffice@auditar.in)

## License

MIT — see [LICENSE](LICENSE).
