A utility that extracts tables from HTML documents and converts them to CSV format
Project description
html2csv
html2csv
is a utility that extracts tables from HTML documents and converts them to CSV format, written in Python.
Setup
Install html2csv
by pip
.
pip install html-to-csv
Yes, the package name is html-to-csv
due to collision ;-)
Usage
usage: html2csv [-h] [-o [OUTPUT]] [-e ENGINE] [input [input ...]]
Convert HTML table to CSV format.
positional arguments:
input input sources (files, URLs, etc., default: standard
input)
optional arguments:
-h, --help show this help message and exit
-o [OUTPUT], --output [OUTPUT]
output target (default: standard output)
-e ENGINE, --engine ENGINE
HTML parser engine (default: html.parser or lxml if
installed)
Author and Contact
Wentao Han (wentao.han@gmail.com)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
html-to-csv-0.1.1.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for html_to_csv-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c84fca91a2a12333e7d331d78ea25f80c36e34e537c97326a1b4ac3f2bf6851c |
|
MD5 | 019e6229e117c578a1d042cc94ca80eb |
|
BLAKE2b-256 | 1abe072f2657a360ddd247832004c005cee5e41084673246e5a813866dade1c7 |