avro-gen
Avro record class and specific record reader generator
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release 2018-01-13, last commit 2022-08-26) and explicitly targets Python 2.7, 3.5, and 3.6—all unsupported versions. Modern Python compatibility is unverified, install friction is high, and no maintainer is available for bug fixes or dependency updates. Consider a maintained alternative if you need typed Avro record generation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Classifiers list Python 2.7, 3.5, 3.6 only—compatibility with modern Python versions is unverified.
- High install friction from a source distribution.
- The package is abandoned—last release was 2018-01-13 and last commit 2022-08-26—so expect no maintenance, bug fixes, or compatibility updates.
License · maintenance · safety
permissive license (permissive) — Apache License (permissive). You may use, modify, and distribute this code freely as long as you include the license notice and state significant changes.
last release 2018-01-13 (3135 days) · last repo commit 2022-08-26 · 20 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 674,009 downloads/mo, #5,393 on PyPI
Alternatives
Verify before relying
from avrogen import write_schema_files
schema_json = '{"type": "record", "name": "example", "fields": [{"name": "id", "type": "long"}]}'
write_schema_files(schema_json, './output')- Whether this package works with Python versions beyond 3.6 (last release predates modern Python support).
- Whether the avro dependency version is pinned or compatible with current avro releases.
- Whether logical types support and custom type registration work as documented in practice.
What it is and what it does
Avro-gen is a code generator that transforms Avro schemas and protocols into typed Python record classes. Instead of working with plain dicts as the standard Avro library does, it produces concrete classes with properties, type hints, and IDE autocomplete for each field. The generator creates a module hierarchy that mirrors Avro namespaces, emitting a SchemaClasses root object with nested namespace and record classes, plus a SpecificDatumReader that deserializes Avro data into these typed instances rather than dicts.
The package supports logical types (date, time, timestamp, decimal) and allows registration of custom logical type processors. However, the project has been abandoned since early 2018, with no updates to support Python versions beyond 3.6, so it carries significant maintenance risk for modern codebases.
Use it for
- Generate type-safe record classes from an Avro schema to enable IDE autocomplete and static type checking in Avro-based data pipelines.
- Build a typed data layer for services that read and write Avro records, replacing untyped dict manipulation with discoverable class properties.
- Organize Avro records by namespace into a Python module hierarchy for cleaner imports and namespace management in large schemas.
- Implement logical type support (dates, timestamps, decimals) on top of standard Avro by generating classes with proper type conversions.
- Validate schema structure at code-generation time rather than at runtime by inspecting generated class definitions.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release 2018-01-13, last commit 2022-08-26) and explicitly targets Python 2.7, 3.5, and 3.6—all unsupported versions. Modern Python compatibility is unverified, install friction is high, and no maintainer is available for bug fixes or dependency updates. Consider a maintained alternative if you need typed Avro record generation.
Install
avro-gen on PyPI
Before you install
High install friction from a source distribution. The package is abandoned—last release was 2018-01-13 and last commit 2022-08-26—so expect no maintenance, bug fixes, or compatibility updates.
Classifiers list Python 2.7, 3.5, 3.6 only—compatibility with modern Python versions is unverified.
License in practice
Apache License (permissive). You may use, modify, and distribute this code freely as long as you include the license notice and state significant changes.
Quickstart
from avrogen import write_schema_files
schema_json = '{"type": "record", "name": "example", "fields": [{"name": "id", "type": "long"}]}'
write_schema_files(schema_json, './output')
Verify before relying
- Whether this package works with Python versions beyond 3.6 (last release predates modern Python support).
- Whether the avro dependency version is pinned or compatible with current avro releases.
- Whether logical types support and custom type registration work as documented in practice.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,135 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 674,009 / month, #5,393 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6 |
Evidence: avro-gen-0.3.0.zip
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “typed avro records python”
- avro-genGenerates typed Python record classes and a reader from Avro schemas…
- avro-gen3Generates typed Python record classes and a reader from Avro schemas,…
- dataclasses-avroschemaGenerates Avro schemas from Python dataclasses, Pydantic models, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also avro-gen3 · pydantic-avro · pandavro · fastavro · dataclasses-avroschema · avro-validator · py-avro-schema · avro-python3 · confluent_avro · jschema-to-python