Comparison
dataclasses-avroschema vs localstack-py-avro-schema vs py-avro-schema vs pydantic-avro
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Generate Avro Schemas from Python classes. Serialize/Deserialize python instances with avro schemas
Actively maintained. Last release 5 days ago. A safe choice.
pip install dataclasses-avroschemaGenerate Apache Avro schemas for Python types including standard library data-classes and Pydantic data models.
Maintained. Last release 7 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity.
pip install localstack-py-avro-schemaGenerate Apache Avro schemas for Python types including standard library data-classes and Pydantic data models.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install py-avro-schemaConverting pydantic classes to avro schemas
Actively maintained. Last release 3 months ago, commits in 12 of the last 26 weeks. A safe choice.
pip install pydantic-avroIn short
- py-avro-schema is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- pydantic-avro is the most used: 2.3M downloads a month, 2.1× more than dataclasses-avroschema.
- Maintenance is comparable: pydantic-avro 88, dataclasses-avroschema 84, localstack-py-avro-schema 57 on Pythie’s Index.
- localstack-py-avro-schema is growing fastest: downloads +65% over the last month.
- localstack-py-avro-schema is the newcomer: first released Aug 2025.
- Safe default for a new project: pydantic-avro.
Side by side
| Metric | dataclasses-avroschema | localstack-py-avro-schema | py-avro-schema | pydantic-avro |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 84 | 57 |