Metadata-Version: 2.4
Name: zikriyon-prism
Version: 0.1.0
Summary: Security, moderation and trust scoring engine — local rule engine plus optional cloud ML tier.
Author: ZEAIPC (Zikr-e-Ameen Innovations & Programming Corporation)
License-Expression: LicenseRef-Proprietary
Project-URL: Homepage, https://zikriyonprism.dev
Project-URL: Repository, https://github.com/zeaipc/zikriyon-prism
Keywords: security,moderation,trust-score,spam-detection,anomaly-detection
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
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 :: Security
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: PyYAML>=6.0
Requires-Dist: httpx>=0.25
Provides-Extra: dev
Requires-Dist: pytest>=7.4; extra == "dev"
Requires-Dist: mypy>=1.5; extra == "dev"
Requires-Dist: ruff>=0.1; extra == "dev"

# zikriyon-prism (Python SDK)

Security, moderation and trust-scoring engine — local rule engine
(free, fully offline) plus an optional cloud ML tier (trust score,
anomaly detection, phishing NLP).

## Install

```bash
pip install zikriyon-prism
```

## Quick start

```python
from zikriyon_prism import RuleEngine

engine = RuleEngine.from_file("rules/spam_abuse.yaml")
result = engine.evaluate(
    {"message": {"text": "click here to unlock your account"}},
    subject_id="user_123",
)
print(result.action)  # "block"
```

## Paid tier

```python
from zikriyon_prism import CloudClient

with CloudClient(license_key="ZP-PRO-<32 hex chars>") as client:
    score = client.get_trust_score("user_123", signals={"login_count": 5})
```

License keys are validated for *shape* client-side only. Real
entitlement and quota checks always happen server-side.

Full project docs, the Node.js SDK, and the cloud service:
https://github.com/zeaipc/zikriyon-prism
