Index
common
¶
Shared infrastructure for all BigBrotr services.
Provides the foundational building blocks used across all six services: configuration models, mixins, and centralized SQL query functions.
Attributes:
-
configs–Per-network Pydantic configuration models (ClearnetConfig, TorConfig, I2pConfig, LokiConfig) with sensible defaults for timeouts, proxy URLs, and max concurrent tasks.
-
mixins–ChunkProgress dataclass for tracking chunk processing cycles, NetworkSemaphoresMixin for per-network concurrency control, and GeoReaders for GeoIP database reader lifecycle management.
-
queries–15 domain-specific SQL query functions centralized in one module to avoid scattering inline SQL across services.
See Also
BaseService: Abstract base class that all services extend. Brotr: Database facade consumed by all query functions in this package.