I am working on a process to dump files from a Redshift database, and would prefer not to have to locally download the files to process the data. I saw that
Redshift
If you have a mybucket S3 bucket, which contains a beer key, here is how to download and fetch the value without storing it in a local file:
mybucket
beer
import boto3 s3 = boto3.resource('s3') print s3.Object('mybucket', 'beer').get()['Body'].read()