Skip to content

Simple command-line utility to convert CSV files to searchable and sortable HTML table.

License

Notifications You must be signed in to change notification settings

roxanaluca/csvtotable

 
 

Repository files navigation

CSVtoTable

Codacy Badge

Simple command-line utility to convert CSV files to searchable and sortable HTML table.

Demo

Here is a demo of sample csv file converted to HTML table.

https://raw.githubusercontent.com/vividvilla/csvtotable/master/sample/table.gif

Installation

pip install csvtotable

Get started

csvtotable --help

Convert data.csv file to data.html file

csvtotable data.csv data.html

Options

-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.

About

Simple command-line utility to convert CSV files to searchable and sortable HTML table.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%