Simple command-line utility to convert CSV files to searchable and sortable HTML table.
Here is a demo of sample csv file converted to HTML table.
pip install csvtotable
csvtotable --help
Convert data.csv
file to data.html
file
csvtotable data.csv data.html
-c, --caption Table caption -d, --delimiter CSV delimiter. Defaults to ',' -q, --quotechar Quote chracter. Defaults to '|' -dl, --display-length Number of rows to show by default. Defaults to -1 (show all rows) -o, --overwrite Overwrite the output file if exists. Defaults to false.