Coverage for sentimatrix / core / __init__.py: 100%
5 statements
« prev ^ index » next coverage.py v7.13.2, created at 2026-01-28 09:30 +0000
« prev ^ index » next coverage.py v7.13.2, created at 2026-01-28 09:30 +0000
1"""
2Sentimatrix Core Module
4Contains foundational components:
5- Configuration management
6- Logging infrastructure
7- Exception hierarchy
8- Cache layer
9- Pipeline orchestration
10"""
12from sentimatrix.core.cache import CacheManager, MemoryCache
13from sentimatrix.core.config import (
14 CacheConfig,
15 LLMConfig,
16 LogConfig,
17 ModelConfig,
18 ProxyConfig,
19 RateLimitConfig,
20 RetryConfig,
21 ScraperConfig,
22 SentimatrixConfig,
23)
24from sentimatrix.core.exceptions import (
25 CacheError,
26 ConfigurationError,
27 LLMProviderError,
28 ModelError,
29 ProviderError,
30 RateLimitError,
31 ScraperError,
32 SentimatrixError,
33 TimeoutError,
34 ValidationError,
35)
36from sentimatrix.core.logger import LogManager, StructuredLogger, get_logger
38__all__ = [
39 # Config
40 "SentimatrixConfig",
41 "LLMConfig",
42 "ScraperConfig",
43 "ModelConfig",
44 "CacheConfig",
45 "LogConfig",
46 "ProxyConfig",
47 "RateLimitConfig",
48 "RetryConfig",
49 # Exceptions
50 "SentimatrixError",
51 "ConfigurationError",
52 "ProviderError",
53 "LLMProviderError",
54 "ScraperError",
55 "ModelError",
56 "ValidationError",
57 "CacheError",
58 "RateLimitError",
59 "TimeoutError",
60 # Logger
61 "LogManager",
62 "StructuredLogger",
63 "get_logger",
64 # Cache
65 "CacheManager",
66 "MemoryCache",
67]