HTML simplification and intelligent extraction for LLM
Project description
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
pip install html-reader-llm
Usage
# 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
html_reader_llm-0.0.1.tar.gz
(23.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file html_reader_llm-0.0.1.tar.gz.
File metadata
- Download URL: html_reader_llm-0.0.1.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45678d5720e91ae779f091de57ef985ea66acdf76adfb9b2f42e5e823551a175
|
|
| MD5 |
6452456741d203ff0fce006c3aa1f161
|
|
| BLAKE2b-256 |
22cb77d546086dad4c684e2d2b1576d1854fc0cc5994ebf401b91cff833132a0
|
File details
Details for the file html_reader_llm-0.0.1-py3-none-any.whl.
File metadata
- Download URL: html_reader_llm-0.0.1-py3-none-any.whl
- Upload date:
- Size: 27.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22437cb4db4e60dc56cffb6af49eeb54a648cb7f14a3ba5a468652b207f9f145
|
|
| MD5 |
04c2258c815116abfeb283e8172c9f35
|
|
| BLAKE2b-256 |
324570c84d1dac8d30249339bd31fa4b859ec79b7204151f25d9dc8a901575a9
|