Simple utilities for calculating averages
Project description
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
Installation
Averager is available on PyPI:
$ python -m pip install averager
Averager officially supports Python 2.7 & 3.6+.
API Reference
See Read the Docs for Averager's documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
averager-3.0.0.tar.gz
(3.7 kB
view details)
Built Distribution
File details
Details for the file averager-3.0.0.tar.gz
.
File metadata
- Download URL: averager-3.0.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04f75ee6b0915c90b2ea67c72b9923fdabc2426b073aa07e63bae4a1c0e47618 |
|
MD5 | 08b15381d1ceea8b6b0fc850dda694f4 |
|
BLAKE2b-256 | d6d5c16d02b4a3983539d1a503abcb55e3986275d54884ff94978c4a5cfa48b6 |
File details
Details for the file averager-3.0.0-py3-none-any.whl
.
File metadata
- Download URL: averager-3.0.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb96d09dfc12c021256b0f489cc6f9822864644bdcb4058634df2ad8e5940eef |
|
MD5 | 03e32d3355b376e693ebf862750e9b7c |
|
BLAKE2b-256 | ffd4f86d0817150d942f22f875f8f3c5beacd6b7e20ecc9a87b20ece8a979a2f |