Add CentralLogging stack, Covance/EDC sources, email import + IWRS scripts

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-08 16:06:21 +02:00
parent af787d9f02
commit 5545f05eee
173 changed files with 21334 additions and 1 deletions
+31
View File
@@ -0,0 +1,31 @@
# ============================================================================
# central_logging.py — stabilní import shim
# Verze: 1.0
# Datum: 2026-06-08
# Popis: Importovatelný název pro knihovnu centrálního logování.
# Vlastní implementace je ve verzovaném souboru
# central_logging_v1.0.py (konvence: verze ve jméně). Python však
# neumí importovat název s tečkou, takže ho zde načteme přes
# importlib a re-exportujeme veřejné API.
#
# Při vydání nové verze stačí přepnout VERSION_FILE níže.
#
# Použití ve skriptech:
# from central_logging import setup_logging
# log = setup_logging("muj_skript")
# ============================================================================
import importlib.util
from pathlib import Path
VERSION_FILE = "central_logging_v1.0.py" # <- při upgrade přepni sem novou verzi
_path = Path(__file__).resolve().parent / VERSION_FILE
_spec = importlib.util.spec_from_file_location("central_logging_impl", _path)
_mod = importlib.util.module_from_spec(_spec)
_spec.loader.exec_module(_mod)
# re-export veřejného API
setup_logging = _mod.setup_logging
CentralLogHandler = _mod.CentralLogHandler
__all__ = ["setup_logging", "CentralLogHandler"]