def METHOD_NAME(packages:list, start_date:date, end_date:date,
                                py_version=PYTORCH_PYTHON_VERSION, platform_version='linux_x86_64', reverse=False):
    rc = []
    curr_date = start_date
    while curr_date <= end_date:
        curr_wheels = get_nightly_wheel_urls(packages, curr_date,
                                             py_version=py_version,
                                             platform_version=platform_version)
        if curr_wheels is not None:
            rc.append(curr_wheels)
        curr_date += timedelta(days=1)
    if reverse:
        rc.reverse()
    return rc