Html2dict

Latest version: v0.2

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2beta

Installation

Html2Dict is available on PyPi, simply install it with `pip3 install html2dict`

Changelog

This release completely change the way to use the script.

New Structure

The script is now a package 'html2dict' including 3 new modules:

* resources
* base_extractor
* extractors

New classes

* `Table`: A table object holds information about a table, including its name,
headers row and data rows.
* `TableExtractor`: The skeleton for more advanced Extractor class.
* `BasicTableExtractor`: The basic extractor which extract data as plaintext.

3 New constructors

* `my_extractor = BasicTableExtractor.from_html_string(html_string=<html_string>)`

* `my_extractor = BasicTableExtractor.from_html_file(html_file=<relative_or_absolute_filepath>)`

* `my_extractor = BasicTableExtractor.from_url(url=<url>)`

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.