pyLINQ
This library makes filtering and sorting lists easier.
Here is how easy it is to use
>>> my_list = List([1,-9,5,2,1])
>>> my_list.select("abs(x)").where("x>3") # get all elements where the absolute value is greater than 3.
[9,5]
>>> my_list.first("x % 2 == 0") # get the first even number
2
>>> name_list = List(['harry','tina','jeff','hank','john','tom','jeremy','brenda','steve'])
>>> name_list.groupby("x[0]")
[{'h': ['harry', 'hank']}, {'t': ['tina', 'tom']}, {'j': ['jeff', 'john', 'jeremy']}, {'b': ['brenda']}, {'s': ['steve']}]
Here is a list of functions
List of Methods for List Object |
||
|---|---|---|
function name |
example call with parameter |
output |
any |
False |
False |
all |
False |
True |
concat |
True |
True |
count |
True |
True |
distinct |
True |
True |
duplicate |
False |
False |
element |
True |
True |
except_set |
False |
True |
first |
True |
True |
groupby |
True |
True |
intersect |
True |
True |
last |
True |
True |
max |
True |
True |
min |
True |
True |
oftype |
True |
True |
orderby |
True |
True |
select |
True |
True |
skipwhile |
True |
True |
sum |
True |
True |
takewhile |
True |
True |
union |
True |
True |
where |
True |
True |
Metadata
Release files for pyLINQ 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyLINQ-0.5.0.tar.gz | 6.2 kB | Without provenance | Details for pyLINQ-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyLINQ-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for pyLINQ-0.5.0-py3-none-any.whl |
Total release size: 12.4 kB
Release files / pyLINQ-0.5.0.tar.gz
| Download URL | pyLINQ-0.5.0.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
401f8ac5c633398a89ed317680a76c7e5d0d1381cfb18f884ae426a9742cb8c3
|
|
BLAKE2b-256 checksum How to use checksums |
4be1d3bc0df736909ad1c2601af09c02bc8200e7aedc1f9bab72b6467287ad62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.5.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.1
|
Release files / pyLINQ-0.5.0-py3-none-any.whl
| Download URL | pyLINQ-0.5.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
efd7eec601990538c5f051be6954604dc401ecfbe4cc520193cb5505f2896998
|
|
BLAKE2b-256 checksum How to use checksums |
0f757b4ab054cffe6b943db5c27d21a6928035140349769bd8f17e9d12babc5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.5.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.1
|
Security for pyLINQ 0.5.0
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.