{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/2"}],"enrichment":{"capability":"Converts between pydantic class definitions and Apache Avro schemas in both directions, enabling serialization and schema generation for data validation workflows.","skillfed_tags":["schema-generation","data-validation","serialization"],"use_cases":["Generate Avro schemas from pydantic models for use in Kafka producers or other Avro-based message systems","Convert existing Avro schema files into pydantic classes to maintain type safety in Python applications","Explicitly map Python datetime fields to Avro timestamp types or other non-default Avro representations","Automate schema generation in data pipelines where both validation and schema registry integration are needed"],"what_it_does":"pydantic-avro bridges pydantic data models and Apache Avro schemas. It lets you define a pydantic class that inherits from AvroBase, then export it as an Avro schema dictionary for serialization or integration with Avro-based systems. It also works in reverse: you can provide an Avro schema file and generate a pydantic class from it via a command-line tool. The library supports explicit Avro type specification through pydantic Field annotations, so you can control how Python types map to Avro types when the default inference isn't what you need.\n\nThe package is lightweight, depending only on pydantic itself. It's useful in data pipelines, message brokers, and systems that need both pydantic's validation and Avro's schema portability. The CLI tool makes it easy to generate boilerplate code from existing Avro schemas without manual translation.","worth_installing":"Yes. Low install friction, active maintenance, no known vulnerabilities, and a permissive MIT license make it a safe choice. Install it if you need bidirectional conversion between pydantic and Avro\u2014either to export pydantic models for Avro systems or to generate pydantic classes from Avro schemas."},"id":"pydantic-avro","links":{"html":"https://skillfed.io/packages/pydantic-avro","md":"https://skillfed.io/packages/pydantic-avro.md","pypi":"https://pypi.org/project/pydantic-avro/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-06","license_spdx":null,"license_treatment":"permissive","name":"pydantic-avro","python_support":"supports_current","summary":"Converting pydantic classes to avro schemas"},"popularity":{"monthly_downloads":2401151,"position":3080,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.10.0"}
