Skip to content

loukwn/c2j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c2j

Just a utility python script I made to painlessly convert csv files to json ones.

It provides the ability to customize the delimiter of the input csv file, as well as change the resulting json, by renaming, ignoring, and/or transforming (by explicitly adding code) the value of the existing csv columns (See example).

Two variables are exposed for the transformation: value , that represents the value of the column for the specific row and index, that is the index of the row.

Usage

Just download the python script and run it like this:

python3 c2j.py [-h] [-i IFILE] [-o OFILE] [-m MFILE] [--delimiter DELIMITER] [--indent INDENT]

License

MIT License

About

aka data to different data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published