import requests
import ZipFile
import cStringIO as StringIO
import csv


def alexa_top_million():
    csv.DictReader(
        csvfile=ZipFile.ZipFile(
            StringIO.StringIO(
                requests.get("http://s3.amazonaws.com/alexa-static/top-1m.csv.zip").content
            )
        ).open("top-1m.csv"),
        fieldnames=("score", "domain")
    )
Add alexa top million utility function