Skip to main content

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 statistics module for similar functionality and more.

Total Downloads Supported Versions Testing Status Coverage GitHub last commit

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


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.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

averager-3.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

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

Hashes for averager-3.1.0.tar.gz
Algorithm Hash digest
SHA256 160d2ccbb70096feb04384f9d13c92744622b797732699f7539c2a1ea89b821b
MD5 0364b2360b7acec1d98df5e2af6d58a4
BLAKE2b-256 786d838d6ab909fe1503af0088b391a2b2712050d5117be62041c8815a3aa040

See more details on using hashes here.

Provenance

The following attestation bundles were made for averager-3.1.0.tar.gz:

Publisher: publish.yml on bsoyka/averager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for averager-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 885c569a23ddc8f8f64c731df4490cac144f61802c1e29f5c3b17885a2572777
MD5 f6b7f4489dfa202660462b9e4e2aa518
BLAKE2b-256 b88867cfe0539239f708469f3d332526c2082812d5ac6daf4813d07a4b1d5fb7

See more details on using hashes here.

Provenance

The following attestation bundles were made for averager-3.1.0-py3-none-any.whl:

Publisher: publish.yml on bsoyka/averager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page