mdraw / csvtotable

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSVtoTable

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

About

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

License:MIT License


Languages

Language:Python 67.9%Language:HTML 32.1%