initial commit

This commit is contained in:
2023-11-24 14:34:44 +01:00
commit ab12333184
12 changed files with 598 additions and 0 deletions

10
config.py Normal file
View File

@@ -0,0 +1,10 @@
import json
from typing import Any
class Config:
def __init__(self) -> None:
with open("config.json", "r") as f:
self.params = json.load(f)
def get(self, param: str) -> Any:
return self.params[param]