$npx skillfedfor your agent

fastavro

Fast read/write of AVRO files

Worth itPyPI LibrariesReleased Apr 202645.7M downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — fastavro-1.12.2-cp310-cp310-macosx_10_9_universal2.whl · fastavro-1.12.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl · fastavro-1.12.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
v1.12.2 · released 2026-04-24 · Python >=3.9

Yes. fastavro is production-stable, actively maintained, permissively licensed, has zero runtime dependencies, and offers substantial performance gains over pure-Python alternatives. Install it if you work with Avro files or need fast serialization of structured data. The C-extension build is well-supported across modern Python versions and platforms.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; C extensions are precompiled for common platforms but may require a C compiler if building from source on an unsupported platform.
  • Medium install friction due to C extensions; however, prebuilt wheels cover CPython 3.9–3.14 and PyPy3 across macOS, Linux (including musllinux), and Windows.
  • Repository is active with recent commits and stable maintenance.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you may use, modify, and distribute fastavro freely in commercial and private projects with minimal restrictions.

last release 2026-04-24 (112 days) · last repo commit 2026-08-07 · 711 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 45,741,179 downloads/mo, #616 on PyPI

Verify before relying

pip install fastavro

import fastavro
with open('data.avro', 'rb') as f:
    for record in fastavro.reader(f):
        print(record)
  • Whether the C extension performance gains (1.7 seconds vs 14 seconds on 10,000 records) remain representative for current workloads and file sizes.
  • Specific codec library availability and whether optional codec dependencies are automatically installed or must be added separately.
Same gist for agents: .md · .json

What it is and what it does

fastavro is a high-performance library for reading and writing Apache Avro files in Python. It wraps C extensions to achieve speed comparable to the Java Avro SDK—iterating 10,000 records in 1.7 seconds with CPython versus 14 seconds for the pure-Python Apache avro package. It supports file and schemaless read/write modes, JSON serialization, multiple compression codecs (Snappy, Deflate, Zstandard, Bzip2, LZ4, XZ), schema resolution, logical types, and schema fingerprinting.

The library is production-stable, actively maintained, and available as prebuilt wheels for Python 3.9–3.14 on CPython and PyPy3 across macOS, Linux, and Windows. It has no runtime dependencies, making installation straightforward. RPC features are not supported. Use it when you need fast Avro serialization in data pipelines, ETL workflows, or applications that process large volumes of Avro-encoded records.

Use it for

  • Deserialize large Avro files in data pipelines where pure-Python libraries are too slow.
  • Serialize structured data to Avro format for efficient storage or transmission with schema evolution support.
  • Read Avro records from Kafka or other message brokers with schema resolution and codec decompression.
  • Convert between Avro and JSON formats while preserving schema metadata and logical types.
  • Build ETL jobs that require fast iteration over millions of Avro records with optional compression.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

fastavro is production-stable, actively maintained, permissively licensed, has zero runtime dependencies, and offers substantial performance gains over pure-Python alternatives. Install it if you work with Avro files or need fast serialization of structured data. The C-extension build is well-supported across modern Python versions and platforms.

Install

fastavro on PyPI

Before you install

Medium install friction due to C extensions; however, prebuilt wheels cover CPython 3.9–3.14 and PyPy3 across macOS, Linux (including musllinux), and Windows. Repository is active with recent commits and stable maintenance.

Requires Python 3.9 or later; C extensions are precompiled for common platforms but may require a C compiler if building from source on an unsupported platform.

License in practice

MIT license is permissive; you may use, modify, and distribute fastavro freely in commercial and private projects with minimal restrictions.

Quickstart

pip install fastavro

import fastavro
with open('data.avro', 'rb') as f:
    for record in fastavro.reader(f):
        print(record)

Verify before relying

  • Whether the C extension performance gains (1.7 seconds vs 14 seconds on 10,000 records) remain representative for current workloads and file sizes.
  • Specific codec library availability and whether optional codec dependencies are automatically installed or must be added separately.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 112 days since the last release
Last repo commit
First released
Downloads45,741,179 / month, #616 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Scientific/Engineering :: Information AnalysisTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

Evidence: fastavro-1.12.2-cp310-cp310-macosx_10_9_universal2.whl; fastavro-1.12.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; fastavro-1.12.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; fastavro-1.12.2-cp310-cp310-musllinux_1_2_aarch64.whl; fastavro-1.12.2-cp310-cp310-musllinux_1_2_x86_64.whl; fastavro-1.12.2-cp310-cp310-win_amd64.whl; fastavro-1.12.2-cp311-cp311-macosx_10_9_universal2.whl; fastavro-1.12.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; fastavro-1.12.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; fastavro-1.12.2-cp311-cp311-musllinux_1_2_aarch64.whl; fastavro-1.12.2-cp311-cp311-musllinux_1_2_x86_64.whl; fastavro-1.12.2-cp311-cp311-win_amd64.whl; fastavro-1.12.2-cp311-cp311-win_arm64.whl; fastavro-1.12.2-cp312-cp312-macosx_10_13_universal2.whl; fastavro-1.12.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; fastavro-1.12.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; fastavro-1.12.2-cp312-cp312-musllinux_1_2_aarch64.whl; fastavro-1.12.2-cp312-cp312-musllinux_1_2_x86_64.whl; fastavro-1.12.2-cp312-cp312-win_amd64.whl; fastavro-1.12.2-cp312-cp312-win_arm64.whl

Tags

Capabilities
avro file serializationfast avro read writeavro schema handlingavro codec compressionavro data serializationavro python libraryavro schema resolution
Topics
serializationavrodata-format

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 › “avro file serialization”

  • fastavrofastavro reads and writes Apache Avro files with C-extension…
  • pandavroReads and writes Apache Avro files to and from pandas DataFrames,…
  • pydantic-avroConverts between pydantic class definitions and Apache Avro schemas…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also pandavro · avro · confluent_avro · avro-gen · avro-gen3 · avro-python3 · py-avro-schema · kaldiio · aws-glue-schema-registry · pydantic-avro