skyeweave/atlasimagecomposer/config/config.py

23 lines
590 B
Python
Raw Normal View History

2024-10-04 18:18:56 +00:00
# pylint: disable=too-few-public-methods
2024-10-14 18:23:09 +00:00
import os
2024-10-04 18:18:56 +00:00
import pathlib
2024-10-14 18:23:09 +00:00
class Logging:
_level = os.environ.get("AIC_STDOUT_LEVEL", "info")
LEVEL = int(_level) if _level.isdigit() else _level.upper()
NAME = "atlasimagecomposer"
2024-10-05 12:01:50 +00:00
2024-10-04 18:18:56 +00:00
class Paths:
_root = pathlib.Path(__file__).parents[1]
IMAGES = _root / ".temp"
OUTPUT = _root / ".out"
class ExpressionDefaults:
2024-10-05 12:01:50 +00:00
FACESIZE = 256
SHEETSIZE = 1024
2024-10-04 18:18:56 +00:00
class AtlasDefaults:
REGION = "JP"
2024-10-05 12:01:50 +00:00
TIMEOUT = 10
MST_SVT_JSON = "https://git.atlasacademy.io/atlasacademy/fgo-game-data/raw/branch/JP/master/mstSvtScript.json"