dask-image icon indicating copy to clipboard operation
dask-image copied to clipboard

Flatten namespace

Open mrocklin opened this issue 6 years ago • 2 comments

I think that in order to use the imread function I need to dive within the imread module today

import dask_image.imread

x = dask_image.imread.imread('...')

This might be more user friendly if it was just

import dask_image

x = dask_image.imread('...')

Separately, it also looks like this is the only function in the imread module. I wonder if maybe having a seaprate module here is overkill for now?

mrocklin avatar Mar 30 '19 19:03 mrocklin

It looks like scikit-image uses an io module?

mrocklin avatar Mar 30 '19 20:03 mrocklin

Sure this is mostly inherited from the old dask-image org layout. Moving to an io module seems reasonable.

jakirkham avatar May 06 '19 03:05 jakirkham