DeeType
A python package to classify data types from a list.
This package can help you sort the different types of data in a list. For example :- You make a list [1,"Hello",True,[0,8],{"name":"Hardeep"}] You want to extract all the string, ints, bools, lists or dicts from it into different lists.
the code for that would be :-
from DeeType import DeeType
deetype_obj = DeeType([1,"Hello",True,[0,8],{"name":"Hardeep"}])
# for strings
print(deetype_obj.findStr())
## Output :- ["Hello"]
# for integers
print(deetype_obj.findInt())
## Output :- [1]
# for list
print(deetype_obj.findList())
## Output :- [[0,8]]
# for dict
print(deetype_obj.findDict())
## Output :- [{"name":"Hardeep"}]
# for all datatypes
print(deetype_obj.showTypeDict())
## Output :- {
'strings': ['Hello'],
'integers': [1],
'booleans': [True],
'lists': [[0, 8]],
'dicts': [{'name': 'Hardeep'}]
}
Consider Giving a star on our github repo.
Metadata
Release files for DeeType 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| DeeType-0.3-py3-none-any.whl | Python 3 | none | any | Details for DeeType-0.3-py3-none-any.whl |
Release files / DeeType-0.3-py3-none-any.whl
| Download URL | DeeType-0.3-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c70196d0ff2bb458686f7bde2ef9ba90bb49157f8283199bf14f1b10bc8df52d
|
|
BLAKE2b-256 checksum How to use checksums |
6845ff07413362762b01df41a6f41056a3bc346906037bf92ec0738a8aba76c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for DeeType 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.