def get_pypi_releases(dist_name):
    pypi = get_pypi_proxy()

    show_hidden = True
    ret = pypi.package_releases(dist_name, show_hidden)

    if not ret:
        ret = pypi.package_releases(dist_name.capitalize(), show_hidden)

    ret.sort(key=lambda v: _pkg_resources.parse_version(v), reverse=True)

    return ret
Create a new tag from attributes
dataset/ETHPy150Open perone/stallion/stallion/main.py/get_pypi_releases--crossover with--dataset/ETHPy150Open openstack/python-openstacksdk/openstack/image/v2/_proxy.py/Proxy.create_tag