def csv(counter, argv, logger=None):

    sum_lines = sum(counter.values())
    sorted_counter = sorter(counter, argv)

    for author, contributions in sorted_counter:
        relative = float(contributions) / float(sum_lines)
        print('{}, {}, {}'.format(relative, contributions, author))
dataset/ETHPy150Open moacirosa/git-current-contributors/blame_relative_count/presenter.py/csv/original