__all__ = [
    "ApplicationContainer",
    "RuntimeSettings",
    "build_application_container",
    "load_runtime_settings",
    "main",
]


def __getattr__(name: str):
    if name in {"ApplicationContainer", "build_application_container"}:
        from . import container

        return getattr(container, name)
    if name in {"RuntimeSettings", "load_runtime_settings"}:
        from . import settings

        return getattr(settings, name)
    if name == "main":
        from .runtime import main

        return main
    raise AttributeError(name)
