Averager is a simple way to calculate averages of values.
>>> average(1, 2, 3)
2
>>> weighted_average((1, 2), (2, 3))
1.6
>>> median(5, 1, 2)
2
>>> mode(1, 2, 4, 3, 3)
3
Averager is available on PyPI:
$ python -m pip install averager
Averager officially supports Python 3.6+.
See Read the Docs for Averager's documentation.