title: urllib.request page larger than memory
body: <p>Is there a way to process a stream of data from urllib.request.urlopen(req) so that it can be processed in chuncks?</p>
  
  <p>I have a limited size machine and am pulling an API call that is potentially larger than the memory size on my machine and is causing out of memory exceptions.  </p>
  
  <p>I am currently performing the following command:</p>
  
  <pre><code>resp = json.loads(urllib.request.urlopen(req).read().decode())
  </code></pre>