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(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.1.1.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for plainhtml-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 885811f23bbc17fa24287fc0d9d8bec9a8dc6407c793ec275306c03d73799e84 |
|
MD5 | 57c6c9b92c74dde7f2eba8f57400c35a |
|
BLAKE2b-256 | a0e5dc3f7c124e8d636392b8757efe2d0cdd7f97f6e3efe833b360bc5bd26cac |