def get_project(template_path): """ Get compose project with given template file path :param template_path: path of the compose template file :return: project object """ environment = Environment.from_env_file(template_path) config_path = compose_get_config_path_from_options(template_path, dict(), environment) project = compose_get_project(template_path, config_path) return project