csvtotable下载地址

论坛 期权论坛 期权     
392072702   2020-12-3 00:19   30054   0
https://github.com/vividvilla/csvtotable

README.rst
CSVtoTable[color=var(--color-text-link)]
Simple command-line utility to convert CSV files to searchable and sortable HTML table. Supports large datasets and horizontal scrolling for large number of columns.
Demo
[color=var(--color-text-link)]Here is a demo of [color=var(--color-text-link)]sample csv file converted to HTML table.
[color=var(--color-text-link)]
Installationpip install --upgrade csvtotableGet startedcsvtotable --help
Convert data.csv file to data.html file
csvtotable data.csv data.html
Open output file in a web browser instead of writing to a file
csvtotable data.csv --serveOptions-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.-s,  --serve            Open html output in a web browser.-h,  --height           Table height in px or in %. Default is 75% of the page.-p,  --pagination       Enable/disable pagination. Enabled by default.-vs, --virtual-scroll   Number of rows after which virtual scroll is enabled. Default is set to 1000 rows.                        Set it to -1 to disable and 0 to always enable.-nh, --no-header        Show default headers instead of picking first row as header. Disabled by default.-e,  --export           Enable filtered rows export options.-eo, --export-options   Enable specific export options. By default shows all.                        For multiple options use -eo flag multiple times. For ex. -eo json -eo csvCredits

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:44
帖子:12
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP