Customized function pack for lists
Project description
clearList
Customized function pack for lists
Documentation;
-> clearAndCombineList(mainList) --> Concatenates the elements in the list and converts them to string values
-> getListType(mainList) --> Shows the type value of the elements in the list
-> convertStrLİst(mainList) --> Converts the elements in the list to str
-> getOnlyInt(mainList) --> It only returns int values in the list
-> getOnlyStr(mainList) --> It only returns str values in the list
-> getOnlyFloat(mainList) --> It only returns float values in the list
HOW TO USE ?
from ClearList import clearList
listOne =[1,2,3,4,5,6,7] newList = clearList.clearAndCombineList(listOne)
print(newList) ----> "1234567"
from ClearList import clearList
listOne =[1,2,3,4,5,6,7] clearList.getListType(listOne)
----> int | 0. Element 1 ----> int | 1. Element 2 ----> int | 2. Element 3 ----> int | 3. Element 4 ----> int | 4. Element 5
from ClearList import clearList
listOne =[1,2,3,4,5,6,7] newList = clearList.convertStrLİst(lisOne)
print(newList) ----> ["1","2","3","4","5","6","7"]
from ClearList import clearList
listOne =[1,2,"InterFaze","Turkey",3.14]
newList = clearList.getOnlyInt(listOne)
print(newList) ----> [1,2]
from ClearList import clearList
listOne =[1,2,"InterFaze","Turkey",3.14]
newList = clearList.getOnlyStr(listOne)
print(newList) ----> ["InterFaze","Turkey",3.14]
from ClearList import clearList
listOne =[1,2,"InterFaze","Turkey",3.14]
newList = clearList.getOnlyFloat(listOne)
print(newList) ----> [3.14]
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
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 clearList-0.0.4.tar.gz.
File metadata
- Download URL: clearList-0.0.4.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c0b76379ce2068175cdf429f024a58e9dbd90639e4a86e9b36a74e1ac521dd6
|
|
| MD5 |
342112a90b1cf3a9ab1a5e49a584ffd6
|
|
| BLAKE2b-256 |
9d25f377220b334383f0e6696db5c38b78c3785128358319982d8d7239bff054
|
File details
Details for the file clearList-0.0.4-py3-none-any.whl.
File metadata
- Download URL: clearList-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55ad79393809e7ee3fa7d57fe8047f11efa3582bbd6b1377dfdab1aa0eaeaed4
|
|
| MD5 |
457cbe9c35c151a80dc3c238a01157d8
|
|
| BLAKE2b-256 |
76eb4b4c274ddc604bb89c92892cdb6b797fe2024e59966ba369e336675edad5
|