Squash-merge lib-standardisation: adopt repo standards across packaging, tooling, docs, and CI. - standardize pyproject.toml (canonical packaging, lint config, extras, GSDFC pydoclint) - add py.typed marker, modernize type hints and Google-style docstrings - nest generated docs under docs/lib and docs/mcp; add hand-written wiki - adopt standard Type A PyPI CI pipeline (tag==version guard + quality gate) - promote generated CHANGELOG.md; bump version to 0.0.3
40 lines
803 B
Python
40 lines
803 B
Python
"""
|
|
# Summary
|
|
|
|
HTML format implementation for OmniRead.
|
|
|
|
This package provides **HTML-specific implementations** of the core OmniRead
|
|
contracts defined in `omniread.core`.
|
|
|
|
It includes:
|
|
|
|
- HTML parsers that interpret HTML content.
|
|
- HTML scrapers that retrieve HTML documents.
|
|
|
|
Key characteristics:
|
|
|
|
- Implements, but does not redefine, core contracts.
|
|
- May contain HTML-specific behavior and edge-case handling.
|
|
- Produces canonical content models defined in `omniread.core.content`.
|
|
|
|
Consumers should depend on `omniread.core` interfaces wherever possible and
|
|
use this package only when HTML-specific behavior is required.
|
|
|
|
---
|
|
|
|
# Public API
|
|
|
|
- `HTMLScraper`
|
|
- `HTMLParser`
|
|
|
|
---
|
|
"""
|
|
|
|
from .scraper import HTMLScraper
|
|
from .parser import HTMLParser
|
|
|
|
__all__ = [
|
|
"HTMLScraper",
|
|
"HTMLParser",
|
|
]
|