-
-
Notifications
You must be signed in to change notification settings - Fork 407
Extensions to attrs
The following libraries build on attrs to provide additional functionality:
-
attrs-strict: runtime validation for attributes specified in attrs dataclasses based on thetypefield provided. -
bfa: Builders forattrs -
cattrs: for structuring and unstructuring data -
clout: Build command-line interfaces withattrsclasses. -
marshmallow-attrs: Marshmallow serialization forattrsclasses. -
desert: DRY deserialization for dataclasses and attrs classes. -
prettyprinter: an extensible alternative topprintcomes withattrssupport. -
related: for creating nested object models that can be serialized to and de-serialized from nested python dictionaries -
serde: a performant serialization / deserialization extension to and from plain dicts. -
typecats: Makeattrsclasses act more like structural (rather than nominal) typing; built on top ofcattrs. -
valid8: provides an alternate way to add validation to attributes, supporting various coding styles to define your validation functions and validation exception types/messages -
yasoo: Serializes and deserializesattrsanddataclassobjects without relying on type hints.