Releases
v1.0.0 — Initial Release
v1.0.0
·
August 30, 2026
main
csv-to-json v1.0.0
A lightweight, zero-dependency CSV-to-JSON converter built on Python's standard library.
Features
- Type inference — automatically casts CSV values to int, float, bool, or null
- Nested key expansion — dot-notation headers (e.g.
user.name) become nested JSON objects - Streaming mode — process large CSV files row-by-row without loading into memory
- Flexible input — accepts file paths, raw CSV strings, or stdin
- CLI + library — use standalone from the command line or import as a Python module
CLI Usage
python src/csv_converter.py data.csv -o output.json
python src/csv_converter.py records.tsv -d '\t' --expand-keys --compact
cat data.csv | python src/csv_converter.py -
Requirements
- Python 3.10+
- No external packages
GIMHub