marcosschroh/dataclasses-avroschema

Generate avro schemas from python dataclasses, Pydantic models and Faust Records. Code generation from avro schemas. Serialize/Deserialize python instances with avro schemas.

59
/ 100
Established

Supports bidirectional serialization with multiple formats (binary Avro, Avro-JSON, and standard JSON) while maintaining schema validation through nested dataclass composition. Integrates a CLI tool (`dc-avro`) for reverse-engineering Python models from existing Avro schemas, enabling schema-first workflows. Built on a declarative metadata system via `Meta` classes that maps Python type annotations to Avro logical types, with first-class support for enums, unions, maps, and optional fields.

249 stars.

No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 23 / 25

How are scores calculated?

Stars

249

Forks

75

Language

Python

License

MIT

Last pushed

Mar 06, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/marcosschroh/dataclasses-avroschema"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.