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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for minmaxplus-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cf20dbb9ffac9fbe282784d2f7e55ffda1e62e2ea7344b1e6186f316e8d7e0b |
|
MD5 | 150f7acde064c1d939ea21bae90aadaf |
|
BLAKE2b-256 | 39bca3dcc8692542f60af755629e67f90a5605e7f583d0c94b92bfd36d84a118 |