Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.02 KB

File metadata and controls

28 lines (24 loc) · 1.02 KB

Changelog

All notable changes to the Moderyo Python SDK will be documented in this file.

[2.0.7] - 2026-02-17

Added

  • 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.)

Technical

  • Python 3.8+ support
  • httpx for HTTP client
  • Pydantic v2 for data models
  • Typed (PEP 561 compatible)
  • Zero extra dependencies beyond httpx and pydantic