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.1.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for plainhtml-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fe77c8dc58afe82579d0f9396c7b91a02d12ccc8e8fa0f0f846cffafebcd494 |
|
MD5 | c5557c918e7638deb130dfc891c0e8af |
|
BLAKE2b-256 | 72e1714f85455c1d8be21e6055b5125457cf0b997a1d4253e1b3c63493c3b9ff |