dataclasses-avroschema

Generate avro schemas from python classes. Code generation from avro schemas. Serialize/Deserialize python instances with avro schemas

MIT License

Downloads
4.9M
Stars
200
Committers
20

Bot releases are hidden (Show)

dataclasses-avroschema -

Published by marcosschroh about 2 years ago

  • Nested enums serialization 211
dataclasses-avroschema -

Published by marcosschroh about 2 years ago

  • Use python slots
dataclasses-avroschema -

Published by marcosschroh about 2 years ago

  • Provide data to the fake functionality 205
dataclasses-avroschema -

Published by marcosschroh about 2 years ago

  • utils refactor. dataclass decorator included in all code examples. Inheritance example added.
dataclasses-avroschema -

Published by marcosschroh about 2 years ago

  • UnknownType on serialization with intermediates schemas 201
dataclasses-avroschema -

Published by marcosschroh about 2 years ago

  • Name collision on splittes schema usage 198.
dataclasses-avroschema -

Published by marcosschroh about 2 years ago

  • Micro precision added to time and datetime 197. TimeMicro and DateTimeMicro field types added.
dataclasses-avroschema -

Published by marcosschroh about 2 years ago

  • typing issues fixed 186
dataclasses-avroschema -

Published by marcosschroh about 2 years ago

  • Do not use name and type from metadata in avro schema 189
dataclasses-avroschema -

Published by marcosschroh over 2 years ago

  • Raise InvalidMap exception when a Dict has not string keys
  • Now it is possible to use Meta.schema_doc to set the schema documentation
dataclasses-avroschema -

Published by marcosschroh over 2 years ago

  • Priority ordering for record field naming fixed 176. alias_nested_items must have priority order
    1. Check if exists an alias_nested_items in parent class or Meta class of own model
    2. Check if the schema_name is present in the Meta class of own model
    3. Use the default class Name (self.type.name)
dataclasses-avroschema -

Published by marcosschroh over 2 years ago

  • Generate correct schema name 172:
    1. Check if the schema_name is present in the Meta class of own model
    2. Check if exists an alias_nested_items in parent class or Meta class of own model
    3. Use the default class Name (self.type.name)
dataclasses-avroschema -

Published by marcosschroh over 2 years ago

  • Created nested schema resolution directly from dictionaries using parse_obj 90
dataclasses-avroschema -

Published by marcosschroh over 2 years ago

  • alias_nested_items for ListField and DictField 158
dataclasses-avroschema -

Published by marcosschroh over 2 years ago

dataclasses-avroschema -

Published by marcosschroh over 2 years ago

  • Generate wheel package 162
dataclasses-avroschema -

Published by marcosschroh over 2 years ago

  • bump fastavro from 1.4.9 to 1.4.10
  • bump inflect from 5.3.0 to 5.4.0
dataclasses-avroschema -

Published by marcosschroh over 2 years ago

  • types.Enum replaced by enum.Enum 153
dataclasses-avroschema -

Published by marcosschroh almost 3 years ago

  • Use root reference to generate valid schemas in multiple inheritance levels 148
dataclasses-avroschema -

Published by marcosschroh almost 3 years ago

  • validate method added to AvroModel 144
Package Rankings
Top 2.35% on Pypi.org
Badges
Extracted from project README
Tests GitHub license codecov
Related Projects