linchemin.configuration.config.ConfigurationFileHandler¶
- class linchemin.configuration.config.ConfigurationFileHandler[source]¶
class to handle (search, check, create, configuration files)
Attributes:¶
- user_home_directory: path
pointer to the user home directory
- config_dir: path
pointer to the user home directory
- settings_file: path
pointer to the settings file (settings.yaml)
- secrets_file: path
pointer to the secret file (.secrets.yaml)
Methods:¶
- check()
checks the existence of the necessary directory and files
- create()
create the necessary directory and files
- assess()
assess if the program can be executed correctly
- __init__()¶
Methods
__init__()assess()assess if the program can be executed correctly
check()check if the necessary configuration files are in the expected directory
create()create the necessary configuration files are in the expected directory
Attributes
config_dirsecrets_filesettings_fileuser_home_directory