Bug#1107422: ITP: dataclass-wizard -- Library for handling dataclass serialization and deserialization
Package: wnpp
Severity: wishlist
Owner: Edward Betts <edward@4angle.com>
* Package name : dataclass-wizard
Version : 0.35.0
Upstream Author : Ritvik Nag <me@ritviknag.com>
* URL : https://github.com/rnag/dataclass-wizard
* License : Apache-2.0
Programming Lang: Python
Description : Library for handling dataclass serialization and deserialization
This library provides a set of tools for working with Python's dataclass
structures, enabling effortless conversion to and from JSON, TOML, YAML,
dictionaries, and environment variables. It supports flexible mappings of keys,
custom transformations, and recursive data structures including nested and
cyclic references. Field-level customisation is available for controlling how
data is loaded or dumped, with support for environment variables as well. Its
intuitive APIs allow straightforward interaction with structured data, and it
includes functionality for auto-generating dataclass schemas from JSON input,
managing unknown keys, and providing catch-all fields for unexpected data. This
library integrates well with dataclass annotations to create and manipulate
serialised representations while respecting data types and schema definitions.
This library is a new dependancy of todoist-api-python, which is already in
Debian. I plan to maintain it as part of the Home Assistant team.
Reply to: