Metadata-Version: 2.5
Name: ocx-rules
Version: 0.1.0
Summary: Configurable best-practice rule engine for OCX .3docx models
Requires-Python: >=3.12
Requires-Dist: loguru>=0.7
Requires-Dist: lxml>=6.0
Requires-Dist: ocx-geometry<0.4,>=0.3
Requires-Dist: ocx-model-core<0.7,>=0.6
Requires-Dist: shapely>=2.2.0
Description-Content-Type: text/markdown

# ocx-rules

Configurable best-practice rule engine for OCX `.3docx` models.

Rules are defined declaratively in TOML files and bind either a named check
primitive from the built-in library or a custom Python callable. A rule may
declare the schema families it applies to (`schemas = ["3.2", "3.3"]`); the
manager skips it as not applicable on models of other versions. Rule packs are
discovered through the `ocx_rules.packs` entry-point group. See
`docs/superpowers/specs/2026-10-18-ocx-rule-validation-design.md` in the repo
root for the full design.
