title: How do I read a csv stored in S3 with csv.DictReader?
body: <p>I have code that fetches an AWS S3 object.  How do I read this StreamingBody with Python's csv.DictReader?</p>
  
  <pre><code>import boto3, csv
  
  session = boto3.session.Session(aws_access_key_id=&lt;&gt;, aws_secret_access_key=&lt;&gt;, region_name=&lt;&gt;)
  s3_resource = session.resource('s3')
  s3_object = s3_resource.Object(&lt;bucket&gt;, &lt;key&gt;)
  streaming_body = s3_object.get()['Body']
  
  #csv.DictReader(???)
  </code></pre>