Skip to content

Simple utilities for calculating averages with 30k+ downloads

License

Notifications You must be signed in to change notification settings

bsoyka/averager

Repository files navigation

Averager

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

Downloads Supported Versions Testing License Version

Installation

Averager is available on PyPI:

$ python -m pip install averager

Averager officially supports Python 3.6+.

API Reference

See Read the Docs for Averager's documentation.