def convert_path_to_package_name(path: str, delimiter: str='/') ->str:
    """
    Ex) /a/b/c/d/ -> a.b.c.d

    :param path:
    :param delimiter:
    :return:
    """
    return path.strip(delimiter).replace(delimiter, '.')
