from pathlib import Path def get_root_path() -> Path: return Path(__file__).resolve().parent def get_templates_path() -> Path: return get_root_path() / "templates"