data-xexe/xexe/constants.py

14 lines
436 B
Python

import pathlib
from dataclasses import dataclass
from currencies 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()