Metadata-Version: 2.4
Name: html-reader-llm
Version: 0.0.1
Summary: HTML simplification and intelligent extraction for LLM
Author-email: Clericpy <clericpy@gmail.com>
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: minify-html>=0.18.1
Requires-Dist: python-dotenv>=1.2.2
Requires-Dist: selectolax>=0.4.7
Requires-Dist: trafilatura>=2.2.0

# html-reader-llm

HTML simplification and intelligent extraction for LLM.

## Features

- HTML simplification for LLM consumption
- Render detection (HTTP vs Chrome)
- LLM-powered page classification and CSS selector generation
- CSS selector validation

## Installation

```bash
pip install html-reader-llm
```

## Usage

```bash
# Simplify HTML
html-reader-llm simplify < page.html

# Detect if browser rendering is needed
html-reader-llm detect https://example.com

# Full analysis with LLM
html-reader-llm analyze https://example.com

# Fetch HTML
html-reader-llm fetch https://example.com

# Validate CSS selectors
html-reader-llm validate https://example.com --rules-file selectors.json
```

## License

MIT
