Metadata-Version: 2.4
Name: omnimod-sdk
Version: 0.1.1
Summary: Python SDK for the OmniMod moderation API
Project-URL: Homepage, https://omnimod.net
Project-URL: Documentation, https://omnimod.net/docs
Project-URL: Source, https://github.com/DivyaHemantCareer/OmniModApp
Project-URL: Support, https://omnimod.net/support
Author-email: OmniMod <info@omnimod.net>
Maintainer-email: OmniMod <info@omnimod.net>
License-Expression: MIT
License-File: LICENSE
Keywords: content-moderation,moderation,safety,trust-and-safety
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# OmniMod Python SDK

Small dependency-free Python client for the OmniMod API.

## Install

```bash
python -m pip install omnimod-sdk
```

The package is published as `omnimod-sdk` and imported as `omnimod_sdk`.
It requires Python 3.11 or newer and an approved OmniMod API key.

## Package details

- PyPI package: `omnimod-sdk`
- Python import: `omnimod_sdk`
- License: MIT
- Copyright: The Kavach LLC
- Visibility: public client package; OmniMod API usage still requires an approved account and API key

## Usage

```python
from omnimod_sdk import OmniModClient

client = OmniModClient(api_key="omad_live_...")
result = client.moderate_text("hello community", policy="community-default")

if result.is_blocked:
    print("blocked", result.severity)
```

The SDK starts with text moderation. OpenAPI, TypeScript SDK, image helpers, async helpers, and richer typed policy/event APIs are planned after the core API contract stabilizes.
