--- id: avro version: "1.12.1" license: Apache License 2.0 license_treatment: permissive maintenance: aging --- # avro — Avro is a serialization and RPC framework. License: permissive · Maintenance: aging · Downloads: 16.6M/mo ## What it is and what it does Apache Avro is a mature, language-agnostic data serialization framework that converts structured data into a compact binary format. It uses schemas to define the shape of data, enabling efficient encoding and decoding across different systems and programming languages. The Python package provides tools to parse schemas, serialize Python objects into Avro binary format, and deserialize binary data back into Python objects. Avro is commonly used in distributed systems, data pipelines, and RPC frameworks where compact representation and schema evolution matter. It has no external runtime dependencies, making it straightforward to integrate into existing Python projects. The package supports Python 3.9 through 3.13 and is classified as production-stable. Use it for: - Serialize and deserialize structured records in data pipelines and message brokers. - Define and enforce schemas for data interchange between microservices or across language boundaries. - Compress structured data for efficient storage in databases or data lakes. - Build RPC frameworks that need language-neutral data encoding and schema versioning. - Validate incoming data against a predefined schema before processing. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Apache Avro is a data serialization system that encodes structured data into a compact binary format for efficient storage and transmission over networks. Yes. Avro is a production-stable, zero-dependency serialization library with broad language support and no known vulnerabilities. Install it if you need compact binary encoding, schema-driven serialization, or cross-language data interchange. The aging release cycle is not a blocker for a mature, standardized format, but verify that its feature set matches your use case before committing to it. ## Install pip install avro uv add avro poetry add avro ## Installing avro Before you install: Low install friction with no runtime dependencies. The package is marked as aging (303 days since last release), but it is production-stable and supports current Python versions (3.9–3.13). License in practice: Licensed under Apache License 2.0 (permissive). You may use, modify, and distribute this package freely in commercial and private projects, provided you include a copy of the license and any NOTICE files. Quickstart: pip install avro import avro.schema import avro.io schema_str = '{"type": "record", "name": "User", "fields": [{"name": "name", "type": "string"}]}' schema = avro.schema.parse(schema_str) record = {"name": "Alice"} # Use avro.io.DatumWriter and BytesIO to serialize Verify before relying: - Whether the package's aging status (303 days since release) reflects a stable, mature codebase or signals reduced maintenance velocity. - Performance characteristics and serialization speed compared to other binary formats in typical workloads. ## Package facts - License: Apache License 2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 16.6M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags data serialization format, avro schema serialization, binary data encoding, rpc framework, structured data compression, cross-language serialization, avro python library, serialization, schema-driven, rpc [View on SkillFed](https://skillfed.io/packages/avro) · [View on PyPI](https://pypi.org/project/avro/)