import os import tempfile from pathlib import Path CONFIG_FILE = (Path(os.path.dirname(os.path.realpath(__file__))) / ".." / "config.json").resolve() TMP_DIR = Path(tempfile.gettempdir()) / "lego-monitoring"