Metadata-Version: 2.1
Name: plainhtml
Version: 0.2.1
Summary: Extract plain text from HTML
Author: Severin Simmler
Author-email: s.simmler@snapaddy.com
Requires-Python: >=3.10,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: lxml (>=5.1.0,<6.0.0)
Description-Content-Type: text/markdown

# Extract plain text from HTML

## Installation

```
$ pip install plainhtml
```

## Example

```python
>>> import plainhtml
>>> html = "<html><body><p>foo</p><p>bar</p></body></html>"
>>> plainhtml.extract_text(html)
'foo\n\nbar'
```

