38 lines
727 B
Python
38 lines
727 B
Python
"""
|
|
Core domain contracts for OmniRead.
|
|
|
|
---
|
|
|
|
## Summary
|
|
|
|
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",
|
|
]
|