Skip to main content

Min and Max functions and classes for python

Project description

# minmaxplus

![“MinMax+”](./assets/minmaxplus.png)

Small library that extends python’s built in min and max functions.

## Installing

pip install minmaxplus

## Usage

Import the module into your source code as needed.

`python import minmaxplus from minmaxplus import minp, maxp, minmaxp `

## Functions

  • minp

    • requires indexed iterable sequence as arguement

    • calculates and returns minimum value and it’s index

  • maxp

    • requires indexed iterable sequence as arguement

    • calculates and returns maximum value and it’s index

  • minmax

    • requires an indexed iterable sequence as arguement

    • calculates and returns minimum and maximum values and their indeces

## License

GNU Lesser General Public License v3.0

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

minmaxplus-0.2.1.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distributions

minmaxplus-0.2.1-py3.9.egg (3.6 kB view hashes)

Uploaded Source

minmaxplus-0.2.1-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

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