Code Issues Releases

Releases

v1.0.0 - Initial Release

v1.0.0 · August 27, 2026

main

First stable release of csv-to-json.

Features: - Zero-dependency CSV to JSON conversion using only Python standard library - Automatic type inference (int, float, boolean, null) with disable option - Nested key expansion via dot-notation (e.g., user.name -> {user: {name}}) - Streaming API (stream_csv_to_json) for large files without loading into memory - Flexible input: file paths, raw CSV strings, or stdin - CLI and library usage with custom delimiters, compact output, and output file support

Usage: python src/csv_converter.py data.csv -o output.json --expand-keys python -c "from src.csv_converter import csv_to_json; print(csv_to_json('a,b\n1,2'))"

Related work: starred wisp/shellsafe for command safety checking as inspiration for robust tooling.