ILinq
This project provides the module like linq of C# for Python.
How To Install
$ pip install ilinq
For developers, we enter
$ pip install pipenv $ pipenv install --dev
First Example
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from ilinq.ilinq import Linq
def is_prime(n):
if n < 2:
return False
for j in range(2, n):
if n % j == 0:
return False
return True
if __name__ == '__main__':
print(
Linq(range(10**4))
.last(is_prime))
# => 9973
LICENSE
Apache 2.0
Metadata
Release files for ilinq 0.4.2
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 |
|---|---|---|---|---|
| ilinq-0.4.2.tar.gz | 8.6 kB | Without provenance | Details for ilinq-0.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ilinq-0.4.2-py3-none-any.whl | Python 3 | none | any | Details for ilinq-0.4.2-py3-none-any.whl |
Total release size: 21.7 kB
Release files / ilinq-0.4.2.tar.gz
| Download URL | ilinq-0.4.2.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b36efa90dae12c9c202ce7b6cdfb1be7272f0dd767afaa70a58522ced16f4581
|
|
BLAKE2b-256 checksum How to use checksums |
ddbb62d7e2acdf26b6ba15ddeef52e5b1f104d32fee212906200bd97bf532fb0
|
| 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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1
|
Release files / ilinq-0.4.2-py3-none-any.whl
| Download URL | ilinq-0.4.2-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0619dd87602d67aca6c9b675efce54afefc5f9f1c93a004d7c89c5ba882fc40a
|
|
BLAKE2b-256 checksum How to use checksums |
d576846c070f3a485b01ee82ff49b2ffa9560b54ff576dfde4e42a8f0bc9c566
|
| 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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1
|
Security for ilinq 0.4.2
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.