Skip to main content

A python library for extracting data from html table

Project description

# HTML Table Extractor
_HTML Table Extractor is a python library that uses [Beautiful Soup](https://www.crummy.com/software/BeautifulSoup/) extract data from complicated and messy html table_

## Important links
* Repository: https://github.com/yuanxu-li/html-table-extractor
* Issues: https://github.com/yuanxu-li/html-table-extractor/issues

## Installation

```bash
pip install 'beautifulsoup4==4.5.3'
pip install html-table-extractor
```

## Usage

```python
from html_table_extractor.extractor import Extractor
table_doc = """
<table><tr><td>1</td><td>2</td></tr><tr><td>3</td><td>4</td></tr></table>
"""
extractor = Extractor(table_doc)
extractor.parse()
extractor.return_list()
```

## Team

* Justin Li

## Errors/ Bugs

If something is not working correctly, or if you have any suggestion on improvements, [report it here](https://github.com/yuanxu-li/table-extractor/issues)

## Copyright

Copyright (c) 2017 Justin Li. Released under the [MIT License](https://github.com/yuanxu-li/html-table-extractor/blob/master/README.md)

Third-party copyright in this distribution is noted where applicable.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

html_table_extractor-1.0.1-py2-none-any.whl (4.7 kB view details)

Uploaded Python 2

File details

Details for the file html_table_extractor-1.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for html_table_extractor-1.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 47024e8328c02d3e71f33b00fbd2b17cecd2a47692171d94c439389d4b47eaf6
MD5 e6a2d6d05ed0608867eb1a2efe57df5c
BLAKE2b-256 57f88ecc659429f0128503e7940823d8450472e961c05f69c0d19a58160aeffa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page