def contribution(authors, rank):
    count = len(authors)
    for author in authors:
        yield (author, rank / count)
Calculates URL contributions to the rank of other URLs.
dataset/ETHPy150Open DistrictDataLabs/spark-workshop/apps/pagerank.py/contribution