2 dépôts
Registers specialized processing for HTML attributes to handle cross-browser differences during selection.
Distinct from Custom Attribute Validators: Distinct from Custom Attribute Validators: focuses on attribute processing for selection, not validation.
Explore 2 awesome GitHub repositories matching web development · Custom Attribute Handlers. Refine with filters or upvote what's useful.
A sizzlin' hot selector engine.
Registers custom attribute handlers for cross-browser selector compatibility.
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
Customizes equality and ordering comparison for individual attributes using a callable.