def get_pypi_search(spec, operator='or'):
    pypi = get_pypi_proxy()
    ret = pypi.search(spec, operator)
    ret.sort(key=lambda v: v['_pypi_ordering'], reverse=True)
    return ret
Search the package database using the indicated search spec
dataset/ETHPy150Open perone/stallion/stallion/main.py/get_pypi_search