Skip to content

file_config#

File Path Helper

FileConfig #

Configuration Namespace for File Paths

Source code in lunchable/_config/file_config.py
class FileConfig:
    """
    Configuration Namespace for File Paths
    """

    HOME_DIR = Path.home()
    _file_config_module = Path(__file__).resolve()
    CONFIG_DIR = _file_config_module.parent
    LUNCHMONEY_DIR = CONFIG_DIR.parent
    PROJECT_DIR = LUNCHMONEY_DIR.parent
    DATA_DIR = LUNCHMONEY_DIR.joinpath("data")