All notable changes to the Moderyo Python SDK will be documented in this file.
- Initial public release on PyPI
- Synchronous client (
Moderyo) and async client (AsyncModeryo) - Full Pydantic v2 models with 27-category support
- Policy decision support (ALLOW / FLAG / BLOCK)
- Score breakdown: toxicity, hate, harassment, scam, violence, fraud
- Category detection (30+ categories including child safety, extremism)
- Detected phrases with labels
- Batch processing support (
moderate_batch) - Long-text analysis with sentence-level scoring
- Automatic retry with exponential backoff
- Rate limiting handling
- Configurable options: mode, risk level, player_id
- Content options: skip_profanity, skip_threat, skip_masked_word, long_text_mode
- Comprehensive exception hierarchy (AuthenticationError, RateLimitError, etc.)
- Python 3.8+ support
- httpx for HTTP client
- Pydantic v2 for data models
- Typed (PEP 561 compatible)
- Zero extra dependencies beyond httpx and pydantic