Skip to main content

A simple package for calculating mean and standard deviation

Project description

Stats Calculator

A simple Python package for calculating the mean and standard deviation of a set of numbers.

Installation

pip install stats_calculator

from stats_calculator import calculate_mean, calculate_std_dev

numbers = [1, 2, 3, 4, 5]

# Calculate the mean
mean_result = calculate_mean(numbers)
print(mean_result)  # Output: 3

# Calculate the standard deviation
std_dev_result = calculate_std_dev(numbers)
print(std_dev_result)  # Output: approximately 1.41421 (depending on precision)

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

stats_calculator-1.0.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

stats_calculator-1.0.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file stats_calculator-1.0.0.tar.gz.

File metadata

  • Download URL: stats_calculator-1.0.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.4

File hashes

Hashes for stats_calculator-1.0.0.tar.gz
Algorithm Hash digest
SHA256 91d1f45d3a0dcc9a0581359ae76dd13ceffddffb138ae9d24c822da9b44cb49a
MD5 cd3fc48e305aff710d2b7941f0bae7f7
BLAKE2b-256 81f340e0a805d801ce89c8357a02ac43e30790c2034da33c3079d9a88ae10575

See more details on using hashes here.

File details

Details for the file stats_calculator-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for stats_calculator-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4d2e3133b2a281479673678df2d8c8eec0cd19779990bc7615190c08b946b26
MD5 26bd2c3b8d5fdfa35bdb7e2f80e7704a
BLAKE2b-256 befa100c5dc7480dacff03e0d3ad352d5b7b4087e5480010cee1b35db5b3ee7e

See more details on using hashes here.

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