data-xexe/xexe/constants.py
2024-06-11 13:34:49 +02:00

14 lines
440 B
Python

import pathlib
from dataclasses import dataclass
from money.currency import Currency
DEFAULT_CURRENCIES = {Currency("EUR"), Currency("GBP"), Currency("USD")}
@dataclass
class PATHS:
logging_file: pathlib.Path = pathlib.Path("xexe.log")
# Expand user is important. It will replace the user and give you the full
# path. Stuff breaks without it.
dot_env_file_path: pathlib.Path = pathlib.Path("~/.xexe/.env").expanduser()