Skip to main content

A simple library for basic statistical calculations

Project description

Simple Stats

A simple Python library for basic statistical calculations.

Features

  • Calculate mean
  • Calculate median
  • Calculate mode
  • Calculate standard deviation

Installation

You can install the library using pip:

pip install .

Example Code

from common_stats import mean, median, mode, standard_deviation

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

print("Mean:", mean(data))
print("Median:", median(data))
print("Mode:", mode(data))
print("Standard Deviation:", standard_deviation(data))

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

common_stats_test-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

common_stats_test-0.0.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file common_stats_test-0.0.1.tar.gz.

File metadata

  • Download URL: common_stats_test-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for common_stats_test-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c310274b4590deb177a87b5ac3015b26bbd65a09f2237b0f24759399331aec9d
MD5 10f33382afc35593e2d7c0f4542ad8bb
BLAKE2b-256 340981d794757d76815f260540a0d731732fa4549247c5477b8d34a09cab22b8

See more details on using hashes here.

File details

Details for the file common_stats_test-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for common_stats_test-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eff99090d79e874870280e40caf06367998239bed33e9fef57c7f495b8b3231a
MD5 166f591a3182f8a54a14a64041cfc27b
BLAKE2b-256 cd398a828b38a20923622170bbfeca65ab81bde2ad48d4bb587c03c3eb7dc1e5

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