Did I find the right examples for you? yes no

All Samples(526)  |  Call(484)  |  Derive(0)  |  Import(42)
:type aws_access_key_id: string
:param aws_access_key_id: Your AWS Access Key ID

:type aws_secret_access_key: string
:param aws_secret_access_key: Your AWS Secret Access Key

:rtype: :class:`boto.s3.connection.S3Connection`
:return: A connection to Amazon's S3

        def connect_s3(aws_access_key_id=None, aws_secret_access_key=None, **kwargs):
    """
    :type aws_access_key_id: string
    :param aws_access_key_id: Your AWS Access Key ID

    :type aws_secret_access_key: string
    :param aws_secret_access_key: Your AWS Secret Access Key

    :rtype: :class:`boto.s3.connection.S3Connection`
    :return: A connection to Amazon's S3
    """
    from boto.s3.connection import S3Connection
    return S3Connection(aws_access_key_id, aws_secret_access_key, **kwargs)
        


src/l/a/lacore-0.1.3/lacore/storage/s3/__init__.py   lacore(Download)
from lacore.decorators import cached_property
from lacore.exceptions import UploadInvalidError
from boto import connect_s3
from boto.s3.key import Key
from boto.s3.connection import NoHostProvided
    def getconnection(self):
        if self.conn is None:
            self.conn = connect_s3(
                aws_access_key_id=self.accesskey,
                aws_secret_access_key=self.secret,

src/b/a/balloon-0.03-alfa/balloon/amazon/s3.py   balloon(Download)
 
        import boto
        a_s3_conn = boto.connect_s3( AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY,
                                     proxy = a_proxy_address, 
                                     proxy_port = a_proxy_port, 

src/c/l/cloudflu-0.28/cloudflu/amazon/s3.py   cloudflu(Download)
 
        import boto
        a_s3_conn = boto.connect_s3( AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY,
                                     proxy = a_proxy_address, 
                                     proxy_port = a_proxy_port, 

src/l/o/logcatcher-HEAD/example_scripts/move_scribe_logs_to_s3.py   logcatcher(Download)
SERVER_HOSTNAME = socket.gethostbyname(socket.gethostname())
 
conn = boto.connect_s3(AWS_ACCESS_KEY_ID,
            AWS_SECRET_ACCESS_KEY)
 

src/t/o/tornado_sample-HEAD/sample/handlers/handlers.py   tornado_sample(Download)
 
        #credentials can be stored in environment AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
        conn = boto.connect_s3(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
 
        #Connect to bucket and create key

src/v/e/veyepar-HEAD/dj/scripts/archive_uploader.py   veyepar(Download)
def auth(upload_user):
 
    auth = archive[upload_user] ## from dict of credentials 
    connection = boto.connect_s3( auth['access'], auth['secret'], 
            host='s3.us.archive.org', is_secure=False, 

src/s/c/scalarizr-HEAD/src/scalarizr/platform/ec2/__init__.py   scalarizr(Download)
        key_id, key = self.get_access_keys()
        self._logger.debug("Return s3 connection (endpoint: %s)", endpoint)
        return boto.connect_s3(host=endpoint, aws_access_key_id=key_id, aws_secret_access_key=key)
 
 

src/s/4/s4cmd-HEAD/s4cmd.py   s4cmd(Download)
  def connect(self):
    '''Connect to S3 storage'''
    try:
      if S3Handler.S3_KEYS:
        self.s3 = boto.connect_s3(S3Handler.S3_KEYS[0], 
                                  S3Handler.S3_KEYS[1],
                                  is_secure = self.opt.use_ssl,
                                  suppress_consec_slashes = False)
      else:
        self.s3 = boto.connect_s3(is_secure = self.opt.use_ssl,

src/l/a/lacli-0.2.3/lacli/pool.py   lacli(Download)
from lacli.exceptions import UploadEmptyError, WorkerFailureError, PauseEvent
from lacli.control import readControl
from boto import connect_s3
from boto.utils import compute_md5
from boto.s3.key import Key
    def getconnection(self):
        if self.conn is None:
            self.conn = connect_s3(
                aws_access_key_id=self.accesskey,
                aws_secret_access_key=self.secret,

src/t/t/ttr.aws.utils.s3-0.4.0/src/ttr/aws/utils/s3/lsvers.py   ttr.aws.utils.s3(Download)
        return
 
    conn = boto.connect_s3(profile_name=profile_name, aws_access_key_id= aws_access_key_id, aws_secret_access_key= aws_secret_access_key)
 
    bucket = conn.get_bucket(bucket_name)

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next