Skip to content

Extensions to attrs

Dotan J. Nahum edited this page Nov 11, 2018 · 22 revisions

The following libraries build on attrs to provide additional functionality:

  • cattrs — for structuring and unstructuring data

  • related — for creating nested object models that can be serialized to and de-serialized from nested python dictionaries

  • valid8 — provides an alternate way to add validation to attributes, supporting various coding styles to define your validation functions and validation exception types/messages.

  • serde — a performant serialization / deserialization extension to and from plain dicts.

Clone this wiki locally