Skip to main content

polars-fastavro

build pypi docs

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

  1. Because it uses python types as an intermediary, it's slow, (30x read to 80x write).
  2. Since this is ultimately converting between avro and arrow, it has no support for avro maps or unions (other than null).
  3. Every type is treated as nullable.
  4. Additionally, some types could in theory be supported but aren't for technical reasons. These include uuid and duration.
  5. 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.
  6. 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)

Source distribution for polars-fastavro 0.7.0
File Size Uploaded
polars_fastavro-0.7.0.tar.gz 115.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for polars-fastavro 0.7.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page