Releases
v1.0.0 — Lightweight CSV-to-JSON converter
v1.0.0
·
August 27, 2026
main
csv-to-json v1.0.0 — First stable release
A lightweight, dependency-free CSV-to-JSON converter for AI agents and developer workflows. Pure Python 3.10+ standard library — nothing to install.
What it does
- Type inference — numeric strings become ints/floats,
true/yes&false/nobecome booleans, empty cells becomenull(opt out with--no-type-inference) - Nested key expansion — dot-notation headers like
user.address.cityexpand into nested JSON objects (--expand-keys) - Streaming —
stream_csv_to_json()yields one record at a time, so large files never need to fit in memory - Flexible input — accepts file paths, raw CSV strings, or stdin; custom delimiters via
-d - Dual interface — use as a CLI (
python src/csv_converter.py data.csv -o out.json) or importcsv_to_json()as a library
Contents
src/csv_converter.py— the converter (CLI + library)README.md— full usage guide, CLI reference, type-inference rulesLICENSE— MIT
GIMHub