Skip to main content

Package to find the mean, median, and mode.

Project description

mememo

PyPI version Python version

A lighweight package to find the mean, median, and mode.


Benefits

  • Most efficient and more lightweight than the numpy or statistics module.
  • No need other 3rd-party modules to install.
  • Only 3 functions.

Installation

To import, run

import mememo

mean()

You can use the mean() function to find the mean of 2+ numbers.

a = mememo.mean([1, 2])
print(a) # Output: 1.5

Same way applies to the median() and mode() functions.

a = mememo.median([1, 2])
print(a) # Output: 1.5
a = mememo.mode([1, 2])
print(a) # Output: 2

Cruical note: The function must only take in one argument which is the list of numbers.

For example,

mememo.mean(10, 15, 87)

will raise this error

TypeError: mean() takes 1 positional argument but 2 were given

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

mememo-1.0.2b0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

mememo-1.0.2b0-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file mememo-1.0.2b0.tar.gz.

File metadata

  • Download URL: mememo-1.0.2b0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for mememo-1.0.2b0.tar.gz
Algorithm Hash digest
SHA256 454154dad6a883c518044a25265d3a9f651ff5735139f3afd66e88fb25eb9308
MD5 d8235e172f29af8e895af3c6a24c4920
BLAKE2b-256 3d6fc8edfe73a2fe51febbe86782172893be33e2f3462338f3d26ce370f24b60

See more details on using hashes here.

File details

Details for the file mememo-1.0.2b0-py3-none-any.whl.

File metadata

  • Download URL: mememo-1.0.2b0-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for mememo-1.0.2b0-py3-none-any.whl
Algorithm Hash digest
SHA256 dfcd47b454a589733f574f073f3cbae7b86ab30088c47e0fabd1ef504aec73f4
MD5 ebdcaadac085ee859b80fa6055564194
BLAKE2b-256 7eb0e5cdbd679098ee28af9fc151dec7f6a5089e06b9ada660498dcf67a11477

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