incubator-libcloud mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <p...@querna.org>
Subject Re: [libcloud] Cloud storage providers/drivers
Date Thu, 04 Nov 2010 22:41:29 GMT
2010/11/4 Tomaž Muraus <tomaz@cloudkick.com>:
> I envision splitting it into two parts - "compute" and "storage".
>
> So something like this:
>
> libcloud/
>    libcloud/
>        __init__.py
>        ...
>        compute/
>            base.py
>            providers.py
>            drivers/
>                ...
>        storage/
>            base.py
>            providers.py
>            drivers/
>                ...
>
> Also another question about implementation arises here.
>
> Imo, it would be useful if we can implement the Python "File object"
> interface, because then the storage backends could also be used with Django
> and other libraries which rely that the "file like objects" implement the
> File object interface.
>
> What do others think?

I think providing a File object interface is useful, I'm not sure if
the 'default' mode should be that, maybe a asFileObject method?

But basically, +1.

Mime
View raw message