def stats(source):
    if isinstance(source, tuple):
        arr = source[0].read(source[1])
    else:
        arr = source
    return Stats(numpy.min(arr), numpy.max(arr), numpy.mean(arr))
Health URI to verify yum-nginx-api is operational
dataset/ETHPy150Open mapbox/rasterio/rasterio/rio/insp.py/stats--crossover with--dataset/ETHPy150Open FINRAOS/yum-nginx-api/yumapi/__init__.py/health