Package s3
[hide private]
[frames] | no frames]

Source Code for Package s3

 1  """ 
 2  s3: a set of classes for interacting with amazon's s3. 
 3   
 4  The aim of this library is to try to export all of the s3 
 5  functionality while staying true to python's feel. 
 6   
 7  Hopefully, usage should be pretty straight forward. I'd suggest 
 8  looking over the test code in test.py, and then look at the doc 
 9  strings in the methods of the classes of S3Service and S3Bucket. 
10  """ 
11   
12  VERSION = '2006-03-01' 
13  DEFAULT_HOST = "s3.amazonaws.com" 
14   
15  # TODO: 
16  #   + handle s3 object metadata 
17  #   + acl's 
18  #   + accept date types as input for "If-*-Since" headers 
19  #   + make some (tuple?) interface for "Range" headers 
20  #   + pipelining 
21   
22  from connection import S3Connection 
23  from service import S3Service 
24  from objects import S3Bucket, S3Object 
25  from generator import S3Generator 
26  from errors import S3Error 
27   
28  Service = S3Service 
29  Generator = S3Generator 
30