A simple Python library to calculate averages of values.
Project description
Averager
Averager is a simple Python library to calculate averages of values.
>>> import averager
>>> averager.average(1, 2, 3)
2
>>> averager.weighted_average((1, 2), (2, 3))
1.6
>>> averager.median(5, 1, 2)
2
>>> averager.mode(1, 2, 4, 3, 3)
3
[!WARNING] Averager is deprecated, and no new features will be added. Please use the built-in
statisticsmodule for similar functionality and more.
Installation and usage
Averager is available on PyPI. Install it with your preferred package manager:
$ uv add averager
$ pip install averager
Averager officially supports Python 3.9+.
Read the documentation to learn how to use Averager.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file averager-3.1.0.tar.gz.
File metadata
- Download URL: averager-3.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
160d2ccbb70096feb04384f9d13c92744622b797732699f7539c2a1ea89b821b
|
|
| MD5 |
0364b2360b7acec1d98df5e2af6d58a4
|
|
| BLAKE2b-256 |
786d838d6ab909fe1503af0088b391a2b2712050d5117be62041c8815a3aa040
|
Provenance
The following attestation bundles were made for averager-3.1.0.tar.gz:
Publisher:
publish.yml on bsoyka/averager
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
averager-3.1.0.tar.gz -
Subject digest:
160d2ccbb70096feb04384f9d13c92744622b797732699f7539c2a1ea89b821b - Sigstore transparency entry: 353339473
- Sigstore integration time:
-
Permalink:
bsoyka/averager@b228cf3ae23dcb110c7c29f05f8bf9382438a7ce -
Branch / Tag:
refs/tags/v3.1.0 - Owner: https://github.com/bsoyka
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b228cf3ae23dcb110c7c29f05f8bf9382438a7ce -
Trigger Event:
release
-
Statement type:
File details
Details for the file averager-3.1.0-py3-none-any.whl.
File metadata
- Download URL: averager-3.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
885c569a23ddc8f8f64c731df4490cac144f61802c1e29f5c3b17885a2572777
|
|
| MD5 |
f6b7f4489dfa202660462b9e4e2aa518
|
|
| BLAKE2b-256 |
b88867cfe0539239f708469f3d332526c2082812d5ac6daf4813d07a4b1d5fb7
|
Provenance
The following attestation bundles were made for averager-3.1.0-py3-none-any.whl:
Publisher:
publish.yml on bsoyka/averager
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
averager-3.1.0-py3-none-any.whl -
Subject digest:
885c569a23ddc8f8f64c731df4490cac144f61802c1e29f5c3b17885a2572777 - Sigstore transparency entry: 353339495
- Sigstore integration time:
-
Permalink:
bsoyka/averager@b228cf3ae23dcb110c7c29f05f8bf9382438a7ce -
Branch / Tag:
refs/tags/v3.1.0 - Owner: https://github.com/bsoyka
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b228cf3ae23dcb110c7c29f05f8bf9382438a7ce -
Trigger Event:
release
-
Statement type: