{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/5"}],"enrichment":{"capability":"Generates Avro schemas from Python dataclasses, Pydantic models, and Faust Records, and serializes/deserializes Python instances to and from Avro binary or JSON formats.","skillfed_tags":["avro-serialization","schema-generation","data-interchange"],"use_cases":["Serialize Python dataclass instances to Avro binary for storage in Kafka topics or data lakes.","Generate Avro schemas from Pydantic models to document and validate API request/response contracts.","Deserialize Avro messages from a streaming platform back into typed Python objects for type-safe processing.","Convert between Python dataclasses and Avro-JSON for human-readable debugging or REST API payloads.","Define a single Python dataclass and automatically generate schema documentation for cross-team data contracts."],"what_it_does":"Dataclasses Avro Schema bridges Python type definitions and Apache Avro serialization. It lets you define data structures as standard Python dataclasses or Pydantic models and automatically generates corresponding Avro schemas\u2014the binary format specification that Avro uses for efficient, language-agnostic serialization. The package then handles bidirectional conversion: serialize Python instances to compact Avro binary or human-readable Avro-JSON, and deserialize those formats back into typed Python objects or dictionaries.\n\nThe package is built on top of fastavro for the actual binary encoding/decoding, and integrates with dacite and inflection to handle type mapping and naming conventions. It supports complex nested structures, enums, optional fields, defaults, and metadata like namespaces and aliases. Optional extras let you extend it to work with Pydantic models or Faust streaming records, or add code generation and test data capabilities.","worth_installing":"Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and solves a real problem for teams using Avro serialization with Python. The MIT license is permissive. Install it if you need to work with Avro schemas in Python\u2014either to generate them from your type definitions or to serialize/deserialize Avro data."},"id":"dataclasses-avroschema","links":{"html":"https://skillfed.io/packages/dataclasses-avroschema","md":"https://skillfed.io/packages/dataclasses-avroschema.md","pypi":"https://pypi.org/project/dataclasses-avroschema/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-05","license_spdx":null,"license_treatment":"permissive","name":"dataclasses-avroschema","python_support":"supports_current","summary":"Generate Avro Schemas from Python classes. Serialize/Deserialize python instances with avro schemas"},"popularity":{"monthly_downloads":1330521,"position":4047,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.70.5"}
