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. (That's what the 3m's mean)


✨ 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 = mean([1, 2])
print(a) # Output: 1.5

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

a = median([1, 2])
print(a) # Output: 1.5
a = 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,

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.1b0.tar.gz (2.1 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.1b0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mememo-1.0.1b0.tar.gz
  • Upload date:
  • Size: 2.1 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.1b0.tar.gz
Algorithm Hash digest
SHA256 1f1b3cc715f7d7141bfd8b230ccaaf78d3c6435fa7c9de9d21485080ba821fb8
MD5 1b9b14691c3bf44459e32a6cff3c4046
BLAKE2b-256 a2e4c7490e4fe42ecda71463782ec25c719ca421f3fd77539f7bb500e1390870

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mememo-1.0.1b0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 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.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 205a1a79dae07451d935db90c60602aa97339adaab338d27d5d80a78438fa471
MD5 f545eb71811b95ea19a0f256d1ebcdb0
BLAKE2b-256 22e367ac4c65e4ccbe09a16aa3c4daa1e200b6c999ebed6a45d06a995c817a79

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