2026/3/19 -attrs.validators.in_() now transforms certain unhashable options to tuples to keep the field hashable. This allows fields that use this validator to be used ...
2026/7/1 -The purpose of the library is to provide runtime validation for attributes specified in attrs data classes. The types supported are all the builtin types ...
2026/6/24 -attrs: dataclass's older sibling with extras (slots-by-default, converters, composable validators). Worth it for libraries and complex domain models. TypedDict: ...
2026/3/19 -attrs.validators.in_() now transforms certain unhashable options to tuples to keep the field hashable. This allows fields that use this validator to be used ...
2026/3/31 -attrs is the Python package that will bring back the joy of writing classes by relieving you from the drudgery of implementing object protocols (aka dunder ...
2026/3/12 -Pydantic provides robust validation of any node's configuration and AnyTree extends the validation to create a tree of configuration objects with double linkage ...
2026/9/26 -cattrs is a Swiss Army knife for (un)structuring and validating data in Python. In practice, that means it converts unstructured dictionaries into proper ...
2026/8/25 -For additional comparisons, attrs validators, marshmallow, or msgspec could be interesting, although they don't all solve exactly the same problem. The ...
2026/4/9 -Use attrs when you need the ergonomics of dataclasses but with real validators, converters, and slots performance, and you'd rather not take a Pydantic-sized ...
2026/9/7 -cattrs is a Swiss Army knife for (un)structuring and validating data in Python. In practice, that means it converts unstructured dictionaries into proper ...