2 repositorios
Runs user-defined validation functions on tag and node attributes to enforce value constraints.
Distinct from Attribute Validations: Distinct from Attribute Validations: focuses on user-defined validation functions rather than predefined attribute checks.
Explore 2 awesome GitHub repositories matching part of an awesome list · Custom Attribute Rule Validations. Refine with filters or upvote what's useful.
Markdoc is a documentation content framework that extends standard Markdown with custom tags, typed schemas, and reusable components, parsing content into an abstract syntax tree and rendering it as React elements or HTML. It provides a structured authoring system where documents are processed through an AST-based pipeline, enabling validation, transformation, and flexible output generation. The framework distinguishes itself through a schema-driven validation pipeline that checks document structure and attribute values against defined rules, and a pluggable renderer architecture that accepts
Runs user-defined validation functions on tag and node attributes to enforce value constraints.
attrs is a Python library that automatically generates initialization, representation, equality, hashing, and ordering methods from declarative class attribute definitions. At its core, it provides a class decorator metaprogramming framework that intercepts class creation to rewrite the class body, producing dunder methods without manual boilerplate. The library includes a comprehensive attribute validation toolkit with built-in validators for type checks, range constraints, regex matching, length limits, and logical composition of validation rules. The library distinguishes itself through it
Applies user-defined validation functions to attributes with configurable error messages.