"Store App settings" from pathlib import Path _ROOT_DIR = Path().parent.resolve() KEY_PATH = _ROOT_DIR / "data" / "key.pem" USER_AGENT = "COSCUP-demo" AP_CONTENT_TYPE = "application/activity+json" ACTOR_SUMMARY = "I'm banana" USERNAME = "foo" NICKNAME = "foo" SCHEME = "http" DOMAIN = "localhost" BASE_URL = f"{SCHEME}://{DOMAIN}" ID = f"{SCHEME}://{DOMAIN}/user/{USERNAME}" AVATAR_URL = f"{BASE_URL}/static/avatar.png"