Yeah, sorry, our documentation currently seems to be lacking information on
how to specify meta-data. I plan to update it with this information later
today.

For now, please use the information bellow.

You can specify meta-data (key / value pairs) in the extra dictionary which
gets passed to all the upload object methods.

You can do that by setting "meta_data" key in the "extra" dictionary. For
example:

driver.upload_object(..., extra={'meta_data': 'key1': 'value1', 'key2':
'value2'}).


On Fri, Feb 14, 2014 at 6:38 PM, Jay Rolette <role...@infiniteio.com> wrote:

> Howdy,
>
> I'm researching Python libraries for working with cloud storage and the
> main two that came up were boto and Libcloud.
>
> boto covers AWS really well, but doesn't support Python 3 currently.
>  Libcloud supports Python 3 and is provider agnostic.  That's a significant
> advantage for my purposes, but after reading through the docs and searching
> via google a fair bit, I didn't see a clear answer on what sort of support
> there is for getting and manipulating metadata on cloud objects.
>
> Does Libcloud have support for getting/setting metadata in S3 and other
> cloud storage backends?
>
> Any pointers to sample code or docs would be appreciated.
>
> Thanks,
> Jay
>

Reply via email to