# avro

> avro, a magmalake tin: Pure-Mojo Apache Avro: schema parsing, the binary encoding, Object Container Files both ways, and schema resolution.

[magmalake](https://magmalake.dev/) [avro](https://magmalake.dev/s/avro)

Pure-Mojo Apache Avro: schema parsing, the binary encoding, Object Container Files both ways, and schema resolution. No FFI: its one dependency is deflate-mojo, for the deflate codec.

Install

```
pixi shelf add avro-mojo
```

Version

`0.4.4` on mojoshelf

Source

[GitHub](https://github.com/magmalake/avro.mojo) [README](https://github.com/magmalake/avro.mojo#readme) [Benchmark history](https://magmalake.github.io/avro.mojo/benchmarks/)

## Works today

- Object Container Files, read and write, null / deflate / snappy / zstandard
- A schema-compiled RecordCursor with no per-record allocation
- Iceberg field-ids and OCF metadata survive parsing intact

Checked against fastavro, both directions, across all four codecs

- [parquet](https://magmalake.dev/s/parquet) read · write · every encoding · Arrow out
- [parquet-full](https://magmalake.dev/s/parquet-full) parquet · plus ZSTD, BROTLI and LZ4
- [arrow-mlake](https://magmalake.dev/s/arrow-mlake) Arrow layout · C Data Interface · IPC
- [roaring](https://magmalake.dev/s/roaring) 32/64-bit · deletion vectors
- [Every tin](https://magmalake.dev/tins)

[A magmalake project](https://magmalake.dev/)

Apache 2.0 · © 2026 Marius Seritan
