{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/15"}],"enrichment":{"capability":"Generates Apache Avro schemas from Python dataclasses and Pydantic models, enabling serialization and deserialization with type safety.","skillfed_tags":["avro-serialization","schema-generation","dataclass-pydantic"],"use_cases":["Generate Avro schemas from dataclasses for Kafka producers and consumers in Python applications.","Validate Python objects against Avro schemas during serialization and deserialization workflows.","Define data contracts in Python code and automatically export them as Avro schemas for cross-language systems.","Build type-safe data pipelines where Pydantic models are the source of truth for both validation and Avro schema generation.","Integrate schema generation into CI/CD to keep Avro schemas synchronized with Python type definitions."],"what_it_does":"py-avro-schema bridges Python's type system and Apache Avro by automatically generating Avro schemas from dataclasses and Pydantic models. It takes a Python type definition and produces a schema that can be used for serialization, deserialization, and schema validation in Avro-based systems like Kafka. The package depends on avro, orjson, typeguard, memoization, and more-itertools to handle schema generation, type checking, and performance optimization.\n\nThe tool is designed for teams using Avro for data interchange who want to define schemas in Python code rather than separately in JSON or Avro IDL. It integrates with both the standard library (dataclasses) and the popular Pydantic validation library, making it useful in data pipelines, message-driven architectures, and systems where Python types need to map cleanly to Avro's type system.","worth_installing":"Yes, if you are using Avro in a Python environment and want schemas derived from your type definitions. The package is stable, has no known vulnerabilities, and installs with low friction. However, be aware that maintenance is dormant (710 days since last release); verify compatibility with your specific versions of Avro and Pydantic before committing to production use, and plan for potential maintenance gaps if you need ongoing support."},"id":"py-avro-schema","links":{"html":"https://skillfed.io/packages/py-avro-schema","md":"https://skillfed.io/packages/py-avro-schema.md","pypi":"https://pypi.org/project/py-avro-schema/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-09-03","license_spdx":null,"license_treatment":"permissive","name":"py-avro-schema","python_support":"supports_current","summary":"Generate Apache Avro schemas for Python types including standard library data-classes and Pydantic data models."},"popularity":{"monthly_downloads":130665,"position":11632,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.8.2"}
