List modifying package
Project description
Pynlist Python module:
It is a module that allows simple and basic tasks related to lists to be performed in an efficient manner using built-in methods
Installation:
'''pip install pynlist'''
How to use:
1. emax and omax:
These methods take in a list and return a single value (The maximum even or odd number in the list respectively.)
x.emax(my_list)
print(x)
2. emin and omin:
These methods take in a list and return a single value (The minimum even or odd number in the list respectively.)
x.emin(my_list)
print(x)
3. esum and osum:
These methods take in a list and return a single value(The sum of all the even or odd numbers in the list respectively.)
x.esum(my_list)
print(x)
4. prime_search:
This method takes in a list and and returns the prime numbers(if any) in a list format.
x.prime_search(my_list)
print(x)
5. duplicate_search:
This method takes in a list and and returns the duplicates (numbers or strings,if any) in a list format.
x.duplicate_search(my_list)
print(x)
6. quick_list:
This method takes in two arguments and returns a list generated at random based off the given arguments.
x.quicklist(length=int,max_number=int)
print(x)
License:
Copyright (c) 2020 Subhodip Sinha Choudhury Read LICENSE for more details.
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pynolist-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pynolist-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64697ae5fde45a9b5414c7c10325d0eb9175a950dce6981b318cfa229a21d30c
|
|
| MD5 |
6556cc3b351743653ba8b9a0ab1252f8
|
|
| BLAKE2b-256 |
a903da0a637e387b6aa9120497cde4aa430f58bc71078a148a3886945fb9e726
|