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>
This commit is contained in:
commit
69f2f1f635
46 changed files with 4183 additions and 0 deletions
18
apply/providers/__init__.py
Normal file
18
apply/providers/__init__.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue