Read and write X12 EDI 835 remittance files as tables — Python, DuckDB SQL, lossless, fast
https://javillegas.dev/oxedi/ ↗// momentum
// why it's here
- Created 7 weeks ago and already shipping
- Built almost entirely by one person
- Has issues labelled for new contributors
- Health 98/100 with only 6 stars
- 10 releases in the last 90 days
// how to help
// readme
oxedi
A fast, lossless parser and writer for X12 EDI 835 files (electronic remittance advice). The core is written in Rust and is available from Python and from DuckDB.
- Lossless. Every byte of the file is kept. Nothing is silently dropped, and the file can be written back exactly as it was read.
- Ready-made tables. Payments, claims, service lines and adjustments come out as typed tables that open in Polars, pandas, pyarrow or DuckDB.
- Problems are reported, not raised. Questionable data still parses. Each issue is a diagnostic that names the rule, the position and the value.
Documentation: https://javillegas.dev/oxedi/latest/. New here? Start with the five-minute tutorial, or try it in your browser: drop a file on the page and see its tables and problems. Nothing is uploaded.
Install
pip install oxedi # no Python dependencies
pip install "oxedi[polars]" # or [pandas], [pyx12], [edi-835-parser]
Requires Python 3.11 or later. For DuckDB:
INSTALL oxedi FROM community;
LOAD oxedi;