migrating from boto2 to 3
<p>I have this code that use boto2 that I need to port to boto3, and frankly I got a little lost in the boto3 docs:</p>

<pre><code>connection = boto.connect_s3(host=hostname,
                             aws_access_key_id=access_key,
                             aws_secret_access_key=secret_key,
                             is_secure=False,
                             calling_format=boto.s3.connection.OrdinaryCallingFormat())
s3_bucket = connection.get_bucket(bucket_name)
</code></pre>

<p>I also need to make this work with other object stores that aren't aws S3.</p>