feat(prospecting): add complete prospecting module for lead discovery and scoring
Some checks failed
Some checks failed
Migrates scanning pipeline from marketing-.lu-domains app into Orion module. Supports digital (domain scan) and offline (manual capture) lead channels with enrichment, scoring, campaign management, and interaction tracking. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
34
app/modules/prospecting/config.py
Normal file
34
app/modules/prospecting/config.py
Normal file
@@ -0,0 +1,34 @@
|
||||
# app/modules/prospecting/config.py
|
||||
"""
|
||||
Module configuration.
|
||||
|
||||
Environment-based configuration using Pydantic Settings.
|
||||
Settings are loaded from environment variables with PROSPECTING_ prefix.
|
||||
|
||||
Example:
|
||||
PROSPECTING_PAGESPEED_API_KEY=your_key
|
||||
"""
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
|
||||
class ModuleConfig(BaseSettings):
|
||||
"""Configuration for prospecting module."""
|
||||
|
||||
# PageSpeed Insights API key (optional, free 25k/day without key)
|
||||
pagespeed_api_key: str = ""
|
||||
|
||||
# HTTP request timeout in seconds
|
||||
http_timeout: int = 10
|
||||
|
||||
# Batch operation limits
|
||||
batch_size: int = 100
|
||||
|
||||
# Max concurrent HTTP requests for batch scanning
|
||||
max_concurrent_requests: int = 10
|
||||
|
||||
model_config = {"env_prefix": "PROSPECTING_"}
|
||||
|
||||
|
||||
# Export for auto-discovery
|
||||
config_class = ModuleConfig
|
||||
config = ModuleConfig()
|
||||
Reference in New Issue
Block a user