MCPcopy Create free account

hub / github.com/Thysrael/Horizon / types & classes

Types & classes97 in github.com/Thysrael/Horizon

↓ 50 callersClassWebhookConfig
Webhook notification configuration.
src/models.py:321
↓ 44 callersClassWebhookNotifier
Sends webhook notifications after pipeline completion or failure.
src/services/webhook.py:218
↓ 24 callersClassContentItem
Unified content item model from any source.
src/models.py:24
↓ 22 callersClassOpenAIClient
Client for OpenAI-compatible APIs.
src/ai/client.py:174
↓ 21 callersClassHorizonMcpError
Structured exception with stable error code.
src/mcp/errors.py:10
↓ 20 callersClassDailySummarizer
Generates daily Markdown summaries from pre-analyzed content items.
src/ai/summarizer.py:64
↓ 15 callersClassTwitterScraper
Fetch tweets via the Apify altimis/scweet actor.
src/scrapers/twitter.py:23
↓ 14 callersClass_DummyClient
Mock AI client for testing.
tests/test_chained_client.py:12
↓ 12 callersClassAIConfig
AI client configuration.
src/models.py:99
↓ 11 callersClassGDELTScraper
Scraper backed by the GDELT 2.0 DOC API.
src/scrapers/gdelt.py:36
↓ 11 callersClassGoogleNewsScraper
Scraper backed by the Google News RSS search endpoint.
src/scrapers/google_news.py:46
↓ 11 callersClassRunStore
Store intermediate artifacts per pipeline run.
src/mcp/run_store.py:25
↓ 10 callersClassGDELTConfig
GDELT 2.0 DOC API source configuration. Queries the key-less GDELT DOC API (https://api.gdeltproject.org/api/v2/doc/doc) for recent news arti
src/models.py:269
↓ 10 callersClassGoogleNewsConfig
Google News RSS search source configuration. Builds Google News RSS search URLs (https://news.google.com/rss/search) for a query and parses t
src/models.py:289
↓ 8 callersClassCategoryGroupConfig
A quota group containing one or more source categories.
src/models.py:405
↓ 8 callersClassChainedAIClient
Chain multiple AI clients with automatic fallback. When a provider fails with a retryable error (rate limit, auth/quota, service unavailable,
src/ai/client.py:538
↓ 8 callersClassFilteringConfig
Content filtering configuration.
src/models.py:413
↓ 8 callersClassStorageManager
Manages file-based storage for configuration and state.
src/storage/manager.py:53
↓ 7 callersClassEmailManager
Manages email subscriptions and sending summaries.
src/services/email.py:25
↓ 7 callersClassHorizonPipelineService
High-level staged pipeline service.
src/mcp/service.py:43
↓ 7 callersClassOpenBBWatchlist
A named watchlist of tickers fetched from one OpenBB provider. Each watchlist produces one news.company() call per run, so group symbols by p
src/models.py:215
↓ 7 callersClassRedditScraper
Scraper for Reddit posts and comments.
src/scrapers/reddit.py:46
↓ 6 callersClassAzureOpenAIClient
Client for Azure OpenAI deployments. Uses the native AsyncAzureOpenAI client, which requires the deployment name (passed as `model`), azure_e
src/ai/client.py:329
↓ 6 callersClassContentAnalyzer
Analyzes content items using AI to determine importance.
src/ai/analyzer.py:18
↓ 5 callersClassOpenBBConfig
OpenBB Platform source configuration. Uses the installed `openbb` SDK to fetch news and filings for a set of tickers. The SDK is an optional
src/models.py:230
↓ 4 callersClassRedditSubredditConfig
Configuration for monitoring a specific subreddit.
src/models.py:145
↓ 3 callersClassFakeOrchestrator
tests/test_mcp_service_smoke.py:94
↓ 3 callersClassRedditConfig
Reddit source configuration.
src/models.py:167
↓ 2 callersClassAIProvider
Supported AI providers.
src/models.py:44
↓ 2 callersClassBalancedDigestResult
Items and selection statistics from balanced digest filtering.
src/orchestrator.py:35
↓ 2 callersClassConfig
Main configuration model.
src/models.py:424
↓ 2 callersClassConfigError
Raised when configuration is missing or invalid.
src/storage/manager.py:47
↓ 2 callersClassGitHubSourceConfig
GitHub source configuration.
src/models.py:118
↓ 2 callersClassHorizonOrchestrator
Orchestrates the complete workflow for content aggregation and analysis.
src/orchestrator.py:45
↓ 2 callersClassOpenBBScraper
Scraper backed by the OpenBB Platform Python SDK.
src/scrapers/openbb.py:42
↓ 2 callersClassRSSScraper
Scraper for RSS/Atom feeds.
src/scrapers/rss.py:20
↓ 2 callersClassRSSSourceConfig
RSS feed source configuration.
src/models.py:136
↓ 2 callersClassSourcesConfig
All sources configuration.
src/models.py:306
↓ 2 callersClassTwitterConfig
Twitter source configuration. Two modes are supported: - "apify": Use Apify scweet actor (requires APIFY_TOKEN, more reliable) - "playwri
src/models.py:191
↓ 1 callersClassAnthropicClient
Client for Anthropic Claude models.
src/ai/client.py:114
↓ 1 callersClassContentEnricher
Enriches high-scoring content items with background knowledge.
src/ai/enricher.py:27
↓ 1 callersClassDummyConsole
src/services/email.py:38
↓ 1 callersClassDummyConsole
src/services/webhook.py:230
↓ 1 callersClassEmailConfig
Email configuration for updates/subscriptions.
src/models.py:388
↓ 1 callersClassGeminiClient
Client for Google Gemini models.
src/ai/client.py:459
↓ 1 callersClassGitHubScraper
Scraper for GitHub events and releases.
src/scrapers/github.py:15
↓ 1 callersClassHackerNewsConfig
Hacker News configuration.
src/models.py:128
↓ 1 callersClassHackerNewsScraper
Scraper for Hacker News stories with top comments.
src/scrapers/hackernews.py:19
↓ 1 callersClassHorizonRuntime
Loaded runtime references from a Horizon codebase.
src/mcp/horizon_adapter.py:32
↓ 1 callersClassOSSInsightScraper
Scraper for OSS Insight trending repositories endpoint.
src/scrapers/ossinsight.py:19
↓ 1 callersClassPipelineContext
Resolved execution context per call.
src/mcp/service.py:34
↓ 1 callersClassProviderUsage
src/ai/tokens.py:14
↓ 1 callersClassRedditBlockedError
Raised when Reddit blocks an unauthenticated JSON listing request.
src/scrapers/reddit.py:42
↓ 1 callersClassRedditUserConfig
Configuration for monitoring a specific Reddit user.
src/models.py:158
↓ 1 callersClassTelegramChannelConfig
Configuration for monitoring a specific Telegram channel.
src/models.py:176
↓ 1 callersClassTelegramConfig
Telegram source configuration.
src/models.py:184
↓ 1 callersClassTelegramScraper
Scraper for Telegram public channels via web preview.
src/scrapers/telegram.py:21
↓ 1 callersClassTokenUsageSnapshot
src/ai/tokens.py:24
↓ 1 callersClassTwitterPlaywrightScraper
Fetch tweets via Playwright + Cookie using GraphQL interception (free alternative to Apify).
src/scrapers/twitter_playwright.py:64
↓ 1 callersClass_MockFactory
Factory that returns pre-built dummy clients in order.
tests/test_chained_client.py:27
ClassAIClient
Abstract base class for AI clients.
src/ai/client.py:89
ClassBaseScraper
Abstract base class for all scrapers.
src/scrapers/base.py:11
ClassFakeIMAP
tests/test_email.py:30
ClassFakeSMTP
tests/test_email.py:7
ClassOSSInsightConfig
OSS Insight trending repos source configuration. Pulls top star-gain repositories from the OSS Insight public API and emits them as ContentIt
src/models.py:248
ClassSourceType
Supported information source types.
src/models.py:9
ClassTestAzureOpenAIClientComplete
tests/test_azure_client.py:61
ClassTestAzureOpenAIClientInit
tests/test_azure_client.py:36
ClassTestExceptionClassification
tests/test_webhook.py:1510
ClassTestExpandEnvVars
Recursive ${VAR} expansion on config dicts/lists/strings.
tests/test_storage.py:57
ClassTestExtractHeaders
tests/test_webhook.py:376
ClassTestFactoryFunction
tests/test_azure_client.py:101
ClassTestFactoryFunction
tests/test_minimax_client.py:322
ClassTestFetchGuards
tests/test_openbb_scraper.py:76
ClassTestFiltering
tests/test_openbb_scraper.py:174
ClassTestHTTPStatusHandling
tests/test_webhook.py:1306
ClassTestIsJson
tests/test_webhook.py:353
ClassTestMapping
tests/test_openbb_scraper.py:116
ClassTestOpenAIClientComplete
tests/test_minimax_client.py:142
ClassTestOpenAIClientInit
tests/test_minimax_client.py:39
ClassTestRender
tests/test_webhook.py:34
ClassTestRenderDictAndList
tests/test_webhook.py:64
ClassTestRenderParameterized
tests/test_webhook.py:161
ClassTestResilience
tests/test_openbb_scraper.py:214
ClassTestSendDailySummary
tests/test_webhook.py:823
ClassTestSendFailureNotification
tests/test_webhook.py:1167
ClassTestSkipConsoleOutput
tests/test_webhook.py:1642
ClassTestStatic
tests/test_openbb_scraper.py:266
ClassTestTemperatureFallback
Retry-without-temperature path for models that deprecated temperature. Triggered by Claude Opus 4.7 on Bedrock Converse and any OpenAI-compatible
tests/test_minimax_client.py:207
ClassTestTruncate
tests/test_webhook.py:116
ClassTestURLValidation
tests/test_webhook.py:1223
ClassTestWebhookConfigFieldValidation
tests/test_webhook.py:1597
ClassTestWebhookConfigModel
tests/test_webhook.py:765
ClassTestWebhookMarkdownFormatting
tests/test_webhook.py:205
ClassTestWebhookNotifier
tests/test_webhook.py:423
ClassTestWebhookPreview
tests/test_webhook.py:297
ClassTestWebhookRedaction
tests/test_webhook.py:401