from pathlib import Path # General settings PROJECT_ROOT = Path(__file__).resolve().parent.as_posix() LOG_DIR = 'logs' # Computation settings EPS = 1e-8 INF = 1e8 # Logging levels LOG_LEVELS = { 'DEBUG': {'lvl': 10, 'color': 'cyan'}, 'INFO': {'lvl': 20, 'color': 'white'}, 'WARNING': {'lvl': 30, 'color': 'yellow'}, 'ERROR': {'lvl': 40, 'color': 'red'}, 'CRITICAL': {'lvl': 50, 'color': 'red'}, }