smore-inc / tinys3

A simple python S3 upload library. Inspired by requests
MIT License
285 stars 54 forks source link

ListRequest to iterate over the files in a bucket #24

Closed arthurdarcet closed 10 years ago

arthurdarcet commented 10 years ago

Iterate over the metadata of the files in a bucket.

I tried to keep it simple, it uses lxml if available, other it fall backs to the native xml module. The list request run method returns an iterator which will query the amazon API each times it needs more data

shlomiatar commented 10 years ago

Awesome commit! :) :+1:

arthurdarcet commented 10 years ago

I just saw that the test class i created is named TestNonUploadRequests when it should be TestListRequest, sorry about the mixup… Do you want another PR fixing that ?

shlomiatar commented 10 years ago

Yeah, that would be cool :)