OmniMod Python SDK
Small dependency-free Python client for the OmniMod API.
Install
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
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.
Metadata
Release files for omnimod-sdk 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| omnimod_sdk-0.1.1.tar.gz | 6.1 kB | Without provenance | Details for omnimod_sdk-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| omnimod_sdk-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for omnimod_sdk-0.1.1-py3-none-any.whl |
Total release size: 12.1 kB
Release files / omnimod_sdk-0.1.1.tar.gz
| Download URL | omnimod_sdk-0.1.1.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef9ef221db69605bb55af4dc100cc1a48fff44b554b218fa35a59d5079e3efc2
|
|
BLAKE2b-256 checksum How to use checksums |
daf8c20bb7c6c21ab65172d44a8dd00fa06ad9a1375702ddb9b78691bbb45a14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / omnimod_sdk-0.1.1-py3-none-any.whl
| Download URL | omnimod_sdk-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bfe3eb8584dbdc89175fe0db3a0a6f8fb808893eff68ffeb1929ba0108eee4e2
|
|
BLAKE2b-256 checksum How to use checksums |
80860f548716c1754e6e7f38088e140de323c2d95e4f18179363edf89a4a6551
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for omnimod-sdk 0.1.1
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.