fr2csv

Reads French localized AND normal CSVs, ouputs normal CSVs


License
Other
Install
pip install fr2csv==1.0.1

Documentation

fr2csv

PyPI version Build Status

Transforms a CSV file that can be either well written or oddly writen (with commas as decimal separator and semicolon as field separator) to a normal CSV file (as in RFC 4180).

CLI Usage :

fr2csv <inputfile> <outputfile>

For both in and out, "-" means standard in/output.

As a lib :

Import AgnosticReader and use it like csv.dictReader. If you need to access the csv.DictReader used internally, it's myreader.dict_reader

Run tests

python -m unittest test