from pathlib import Path


def root_module_path() -> Path:
    """Return absolute root module path.

    Returns
    -------
    :class:`pathlib.Path`
        Absolute root module path.
    """
    return Path(__file__).resolve().parents[1]