Extract plain text from HTML
Project description
Extract plain text from HTML
Installation
$ pip install plainhtml
Example
>>> import plainhtml
>>> html = "<html><body><p>foo</p><p>bar</p></body></html>"
>>> plainhtml.extract_text(html)
'foo\n\nbar'
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plainhtml-0.2.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for plainhtml-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ed0b0dd9c94959046a264331b967dc760653e56ff250a4794b8dcb5b328bff4 |
|
MD5 | 0162e641cece9ed44ec38c698c2033af |
|
BLAKE2b-256 | 7617ce48df0d61ab6cbb721d1652da9b32b5f8923728c717f17d65007bb3b07e |