def connect_s3(aws_access_key_id=None, aws_secret_access_key=None, **kwargs):
 from boto.s3.connection import S3Connection
 return S3Connection(aws_access_key_id, aws_secret_access_key, **kwargs)

def connect_s3 ( aws_access_key_id = None , aws_secret_access_key = None , ** kwargs ) : from boto . s3 . connection import S3Connection return S3Connection ( aws_access_key_id , aws_secret_access_key , ** kwargs )
helper to build an s3connection object can be used to change settings on all s3connections see: callingformat .