import os
from pathlib import Path
from pydantic import BaseSettings

BASE_DIR = os.path.dirname(os.path.abspath(__file__))


class Settings(BaseSettings):
    """ Global settings

    config_dir: the directory in the user's home where application configuration is stored
    """
    config_dir: Path = Path.home() / ".qne"
