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.2.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for plainhtml-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | caa04e5017522f080b136e237a00e66894b4747d4ed40165bd597569f7d4d9ef |
|
MD5 | 9d11ee6e11de8915fe2864ceb79c170e |
|
BLAKE2b-256 | 8fbf7a435c09a960db4d49ecd543a22a2678e3ce459001b899e101d84e330af1 |