Compages, structuring/unstructuring library#
Public API#
Converters#
- class compages.Structurer(lookup_handlers: Mapping[Any, Callable[[Structurer, type, Any], Any]] = {}, sequential_handlers: Iterable[SequentialStructureHandler] = [])[source]#
Changelog#
0.3.0 (2024-03-15)#
Changed#
Renamed “handlers” and “predicate handlers” to “lookup handlers” and “sequential handlers”. (PR_15)
Added#
0.2.1 (2024-03-05)#
Fixed#
The metadata type in the name converter parameter of
StructureDictIntoDataclass
andUnstructureDataclassToDict
set to the correctMappingProxyType
. (PR_1)
0.2.0 (2024-03-05)#
Changed#
Minimum Python version bumped to 3.10.
0.1.0 (2024-03-04)#
Initial version.