inverter: Convert dataclass to another classΒΆ
inverter
is a library that help convert D(ata)C(lass) to A(nother) C(lass). Supported
output classes / schemas are:
colander schema model.
Apache Avro schema JSON.
JSON Schema through Python JSL library model.
SQLALchemy model (current converter outputs primarily PostgreSQL compatible model).
Note
This library was originally part of morpfw
project, and might still
have some coupling leftover to morpfw.