Skip to content

v1.2.14

Choose a tag to compare

@aborruso aborruso released this 08 Feb 08:02
· 9 commits to main since this release

New: stdin support (csvnorm -)

You can now pipe CSV data directly into csvnorm using - as input:

# Pipe from another command
cat data.csv | csvnorm -

# Chain with other tools
curl -s https://example.com/data.csv | csvnorm - -o clean.csv

# Use with process substitution
csvnorm - < data.csv

# Validate piped data
cat data.csv | csvnorm - --check

Works with all existing flags: -o, --check, --strict, --fix-mojibake, --skip-rows, -d, -k.

If no data is piped (stdin is a terminal), csvnorm shows a clear error message.

Internal

  • Extracted _create_connection() helper in validation.py
  • Fixed ruff target-version alignment
  • Added 33 new tests (total: 181)

Full Changelog: v1.2.13...v1.2.14