Files
omniread/omniread/core/__init__.py

37 lines
730 B
Python

"""
# Summary
Core domain contracts for OmniRead.
This package defines the **format-agnostic domain layer** of OmniRead.
It exposes canonical content models and abstract interfaces that are
implemented by format-specific modules (HTML, PDF, etc.).
Public exports from this package are considered **stable contracts** and
are safe for downstream consumers to depend on.
Submodules:
- `content`: Canonical content models and enums.
- `parser`: Abstract parsing contracts.
- `scraper`: Abstract scraping contracts.
Format-specific behavior must not be introduced at this layer.
---
# Public API
- `Content`
- `ContentType`
---
"""
from .content import Content, ContentType
__all__ = [
"Content",
"ContentType",
]