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
RPM
python3-fastavro-1.9.4-2.lbn36.x86_64.rpm
Summary
Fast Avro for Python
URL
https://github.com/fastavro/fastavro
Group
Unspecified
License
MIT AND Apache-2.0
Source
python-fastavro-1.9.4-2.lbn36.src.rpm
Checksum
c98026e6926f2268f169bbf182c2036091efd36c5d1cceb645e393372c16e755
Build Date
2024/07/07 01:10:38
Requires
/usr/bin/python3
Provides
python-fastavro = 1.9.4-2.lbn36
python3-fastavro = 1.9.4-2.lbn36
python3-fastavro(x86-64) = 1.9.4-2.lbn36
python3.10-fastavro = 1.9.4-2.lbn36
python3.10dist(fastavro) = 1.9.4
python3dist(fastavro) = 1.9.4