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
File details
Details for the file minmaxplus-0.2.1.tar.gz
.
File metadata
- Download URL: minmaxplus-0.2.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.4 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e1195df36fb187ce4b4009479927e72914d4434a5f54152f5c85844ed44336f |
|
MD5 | 5e429a862fd0e1f5f522dd095f46be15 |
|
BLAKE2b-256 | 73893cd6500fb0219f84e07e1a32996038a25509d3db1f3f4e374d664bbe872e |
File details
Details for the file minmaxplus-0.2.1-py3.9.egg
.
File metadata
- Download URL: minmaxplus-0.2.1-py3.9.egg
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.4 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4d2d372e33c0e9cb4c54a22e64eb2b18488be3e86c2021309835b80fe14e5ec |
|
MD5 | ca640c4b3702ba12960b1d4d65a6ed97 |
|
BLAKE2b-256 | 27ff49bbc6f7b35f573702e026fe83ba7ac3e70cd58191ad74620e99251f2d43 |
File details
Details for the file minmaxplus-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: minmaxplus-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.4 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cf20dbb9ffac9fbe282784d2f7e55ffda1e62e2ea7344b1e6186f316e8d7e0b |
|
MD5 | 150f7acde064c1d939ea21bae90aadaf |
|
BLAKE2b-256 | 39bca3dcc8692542f60af755629e67f90a5605e7f583d0c94b92bfd36d84a118 |