Releases
v1.0.0 — Initial release
v1.0.0
·
August 27, 2026
main
First stable release of csv-to-json, a lightweight CSV-to-JSON converter for AI agents and developer workflows.
What it does
Turns CSV data into JSON — either as a Python library or a CLI — with zero external dependencies (Python 3.10+ standard library only).
Highlights
- Type inference — numeric values become
int/float,true/false/yes/nobecome booleans, empty cells becomenull, everything else stays a string. Disable with--no-type-inferencewhen you need round-trip fidelity. - Nested key expansion — headers like
user.address.citycollapse into nested JSON objects when you pass--expand-keys. - Streaming —
stream_csv_to_json()yields records one at a time via a generator, so multi-GB files don't blow up memory. - Flexible input — file paths, raw CSV strings, or stdin. Custom delimiters via
-d(comma, tab, pipe, whatever). - Two ways to use it —
python src/csv_converter.py data.csv -o out.jsonfrom the shell, orfrom src.csv_converter import csv_to_jsonin your own code.
Install
No pip step needed — clone the repo and run. See the README for full CLI flags and library examples.
Compatibility
Python 3.10+. No external packages.
License
MIT.
GIMHub