Top "Boto" questions

boto is an open-source Python Interface to Amazon Web Services

Listing contents of a bucket with boto3

How can I see what's inside a bucket in S3 with boto3? (i.e. do an "ls")? Doing the following: …

python amazon-s3 boto boto3
How to write a file or data to an S3 object using boto3

In boto 2, you can write to an S3 object using these methods: Key.set_contents_from_string() Key.set_contents_…

python amazon-web-services amazon-s3 boto boto3
How to upload a file to directory in S3 bucket using boto

I want to copy a file in s3 bucket using python. Ex : I have bucket name = test. And in the …

python amazon-web-services amazon-s3 boto
Open S3 object as a string with Boto3

I'm aware that with Boto 2 it's possible to open an S3 object as a string with: get_contents_as_string() …

python amazon-s3 boto boto3
How to handle errors with boto3?

I am trying to figure how to do proper error handling with boto3. I am trying to create an IAM …

python amazon-web-services boto boto3
Boto3 Error: botocore.exceptions.NoCredentialsError: Unable to locate credentials

When I simply run the following code, I always gets this error. s3 = boto3.resource('s3') bucket_name = "python-sdk-sample-%…

boto boto3
How to save S3 object to a file using boto3

I'm trying to do a "hello world" with new boto3 client for AWS. The use-case I have is fairly simple: …

python amazon-web-services boto boto3
Amazon S3 boto - how to create a folder?

How can I create a folder under a bucket using boto library for Amazon s3? I followed the manual, and …

amazon-s3 boto
How do I install boto?

So that I am able to work with it within my python scripts?

python installation boto
Python boto, list contents of specific dir in bucket

I have S3 access only to a specific directory in an S3 bucket. For example, with the s3cmd command …

python amazon-s3 boto