Fedora Packages

python3-fastavro Subpackage of python-fastavro

Fast Avro for Python

Because the Apache Python avro package is written in pure Python, it is relatively slow. In one test case, it takes about 14 seconds to iterate through a file of 10,000 records. By comparison, the JAVA avro SDK reads the same file in 1.9 seconds. The fastavro library was written to offer performance comparable to the Java library. With regular CPython, fastavro uses C extensions which allow it to iterate the same 10,000 record file in 1.7 seconds. With PyPy, this drops to 1.5 seconds (to be fair, the JAVA benchmark is doing some extra JSON encoding/decoding). Supported Features • File Writer • File Reader (iterating via records or blocks) • Schemaless Writer • Schemaless Reader • JSON Writer • JSON Reader • Codecs (Snappy, Deflate, Zstandard, Bzip2, LZ4, XZ) • Schema resolution • Aliases • Logical Types • Parsing schemas into the canonical form • Schema fingerprinting Missing Features • Anything involving Avro’s RPC features

Releases Overview

Release Stable Testing
Fedora Rawhide 1.7.4-1.fc39 -
Fedora 38 1.7.4-1.fc38 1.7.3-1.fc38
Fedora 37 1.7.4-1.fc37 -
EPEL 9 1.7.4-1.el9 -
File a new bug report »
Package Info
Related Packages

You can contact the maintainers of this package via email at python-fastavro dash maintainers at fedoraproject dot org.

Sources on Pagure