lazyflat/apply/providers/__init__.py
Moritz 69f2f1f635 lazyflat: combined alert + apply behind authenticated web UI
Three isolated services (alert scraper, apply HTTP worker, web UI+DB)
with argon2 auth, signed cookies, CSRF, rate-limited login, kill switch,
apply circuit breaker, audit log, and strict CSP.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 09:51:35 +02:00

18 lines
524 B
Python

from providers._provider import Provider
import pkgutil
import importlib
# This code runs the moment anyone imports the 'providers' package
__all__ = []
for loader, module_name, is_pkg in pkgutil.walk_packages(__path__):
full_module_name = f"{__name__}.{module_name}"
importlib.import_module(full_module_name)
__all__.append(module_name)
PROVIDERS = dict()
for provider_class in Provider.__subclasses__():
provider_instance = provider_class()
PROVIDERS[provider_instance.domain] = provider_instance