feat(api): expose core and html primitives via top-level package exports

- Re-export Content and ContentType from omniread.core
- Re-export HTMLScraper and HTMLParser from omniread.html
- Define explicit __all__ for stable public API surface
This commit is contained in:
2026-01-02 18:36:29 +05:30
parent 07293e4651
commit 358abc9b36
3 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
from .core import Content, ContentType
from .html import HTMLScraper, HTMLParser
__all__ = [
# core
"Content",
"ContentType",
# html
"HTMLScraper",
"HTMLParser",
]

View File

@@ -0,0 +1,6 @@
from .content import Content, ContentType
__all__ = [
"Content",
"ContentType",
]

View File

@@ -0,0 +1,7 @@
from .scraper import HTMLScraper
from .parser import HTMLParser
__all__ = [
"HTMLScraper",
"HTMLParser",
]