polars-fastavro
A polars io-plugin that wraps fastavro
This plugin allows reading, writing, and scanning avro files into polars DataFrames using the fastavro library.
Usage
from polars_fastavro import scan_avro, read_avro, write_avro
frame = scan_avro(...).collect() # read_avro()
write_avro(frame, dest)
Limitations
- Because it uses python types as an intermediary, it's slow, (30x read to 80x write).
- Since this is ultimately converting between avro and arrow, it has no support for avro maps or unions (other than null).
- Every type is treated as nullable.
- Additionally, some types could in theory be supported but aren't for technical reasons. These include uuid and duration.
- Timestamp support is limited. local-timestamp-*s are treated as Datetime without tz info, while timestamp-*s are treated as UTC Datetime. Writing Datetimes with nano-precision or other time zones is also not supported.
- This can't read cloud files, as that functionality isn't exposed in python to my knowledge.
Metadata
Release files for polars-fastavro 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| polars_fastavro-0.7.0.tar.gz | 115.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| polars_fastavro-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 124.8 kB
Release files / polars_fastavro-0.7.0.tar.gz
| Download URL | polars_fastavro-0.7.0.tar.gz |
|---|---|
| Size | 115.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
859e7cee784e9796540cf10f0571f6595bd58835bdd596eea1abd6b069540ef9
|
|
BLAKE2b-256 checksum How to use checksums |
0e2fb10ed42a7ae1367b5cf904f494726332428656dc9492acb0b2cc708e3d0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency logRelease files / polars_fastavro-0.7.0-py3-none-any.whl
| Download URL | polars_fastavro-0.7.0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08226b5db57a1cc69ae4a0d2565b03cd63c19e0fe4f52ede5037486cf422c5bd
|
|
BLAKE2b-256 checksum How to use checksums |
aed701fafe6fa67284ad37e87e3594a9b7d220a367725b97b9c6ed9c0110ebf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency log