initial commit

This commit is contained in:
2024-12-29 21:27:11 +01:00
commit 5da81e2ee6
19 changed files with 733 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import os
import yaml
CONFIG_FILE = os.environ.get('CONFIG_FILE', "config.yml")
if CONFIG_FILE is None:
raise ValueError('CONFIG_FILE environment variable is not set')
elif not os.path.exists(CONFIG_FILE):
raise ValueError(f'CONFIG_FILE {CONFIG_FILE} does not exist')
with open(CONFIG_FILE, 'r') as config_file:
config = yaml.safe_load(config_file)
def main():
pass
if __name__ == '__main__':
main()