Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Num ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad Str attr NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Num Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If CompareIn Str NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad keyword Call NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad Str Expr Call NameLoad Call AttributeLoad Str attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str SubscriptLoad NameLoad Index Num If BoolOpAnd CompareIsNot SubscriptLoad NameLoad Index Num NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Call AttributeLoad Str attr Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad Str attr attr Assign NameStore Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpOr AttributeLoad NameLoad attr UnaryOpNot NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str orelse Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr For NameStore NameLoad body If CompareEq NameLoad Str body Assign NameStore TupleLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse Assign NameStore TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A hashlib N/A gzip N/A mimetypes N/A os N/A shutil N/A sys N/A tempfile boto.exception S3ResponseError boto.s3.connection S3Connection OrdinaryCallingFormat boto.s3.key Key clint.textui puts utils show_error N/A GZIP_TIMESTAMP 326073600 S3Url N/A str N/A N/A 
    Encapsulates an S3 URL
     __new__ N/A N/A self content N/A N/A N/A N/A N/A N/A content endswith / N/A N/A content N/A N/A {0}/ format content N/A N/A N/A content startswith s3:// N/A N/A content N/A content N/A 5 N/A N/A N/A self root N/A self path N/A N/A content split / 1 N/A N/A N/A str __new__ self N/A N/A content rstrip / N/A N/A S3Sync N/A N/A N/A 
    Encapsulate syncing a directory with S3
     __init__ N/A N/A self directory bucket access_key_id secret_access_key force N/A False N/A N/A N/A . bucket N/A N/A connection N/A S3Connection access_key_id secret_access_key calling_format N/A OrdinaryCallingFormat N/A N/A connection N/A S3Connection access_key_id secret_access_key N/A N/A self force force N/A N/A self bucket bucket N/A N/A self directory N/A N/A directory rstrip / N/A N/A N/A N/A self connection N/A N/A connection get_bucket N/A bucket root N/A N/A N/A S3ResponseError N/A e N/A N/A N/A show_error S3 error! See below:
 N/A N/A puts N/A N/A {0}
 format N/A str e N/A N/A N/A sys exit N/A deploy_to_s3 N/A N/A self N/A N/A N/A 
        Deploy a directory to an s3 bucket.
         N/A N/A self tempdir N/A N/A tempfile mkdtemp s3deploy N/A N/A keyname absolute_path N/A N/A self find_file_paths N/A N/A N/A N/A self s3_upload keyname absolute_path N/A N/A N/A shutil rmtree N/A self tempdir True N/A True N/A s3_upload N/A N/A self keyname absolute_path N/A N/A N/A 
        Upload a file to s3
         N/A mimetype N/A N/A mimetypes guess_type absolute_path N/A options N/A Content-Type N/A mimetype N/A 0 N/A N/A N/A N/A mimetype N/A 0 None N/A N/A N/A mimetype N/A 0 startswith text/ N/A N/A upload N/A open absolute_path N/A N/A options N/A Content-Encoding gzip N/A key_parts N/A N/A keyname split / N/A filename N/A N/A key_parts pop N/A temp_path N/A N/A N/A os path join N/A self tempdir filename N/A gzfile N/A N/A gzip GzipFile temp_path wb 9 None GZIP_TIMESTAMP N/A N/A N/A gzfile write N/A N/A upload read N/A N/A N/A gzfile close N/A absolute_path temp_path N/A hash N/A N/A "{0}" format N/A N/A N/A N/A hashlib md5 N/A N/A N/A open absolute_path rb read hexdigest N/A key N/A N/A {0}/{1} format N/A N/A self bucket path keyname N/A existing N/A N/A N/A self connection get_key key N/A N/A N/A self force N/A existing N/A N/A existing etag hash N/A N/A k N/A Key N/A self connection N/A N/A k key key N/A N/A puts N/A N/A + Uploading {0}/{1} format N/A self bucket keyname N/A N/A N/A k set_contents_from_filename absolute_path options policy public-read N/A N/A N/A puts N/A N/A - Skipping  {0}/{1}, files match format N/A self bucket keyname N/A find_file_paths N/A N/A self N/A N/A N/A 
        A generator function that recursively finds all files in the upload directory.
         N/A paths N/A N/A N/A root dirs files N/A N/A os walk N/A self directory topdown True N/A N/A rel_path N/A N/A N/A os path relpath root N/A self directory N/A f files N/A N/A N/A rel_path . N/A N/A path N/A f N/A N/A N/A os path join root f N/A N/A path N/A N/A N/A N/A os path join rel_path f N/A N/A N/A os path join root f N/A N/A N/A paths append path N/A paths N/A N/A