linq library
Project description
This project provides the module like linq of C# for Python.
How To Install
$ pip install ilinq
For developers, we enter
$ pip install -r extra_require.txt
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
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 Distribution
ilinq-0.2.0.tar.gz
(1.3 kB
view details)
Built Distribution
ilinq-0.2.0-py3-none-any.whl
(2.7 kB
view details)
File details
Details for the file ilinq-0.2.0.tar.gz
.
File metadata
- Download URL: ilinq-0.2.0.tar.gz
- Upload date:
- Size: 1.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3062cd103fa4c8f69383a24b3e506d48c0aa96d6cb2c6c62ef1ee54e8916ffd4 |
|
MD5 | 3021c63b992b4b2be2452e52eab81583 |
|
BLAKE2b-256 | 55792fa2f357bc8d5b5e6d1459bd92f179f916d60f62474bd83e775cf7a39972 |
File details
Details for the file ilinq-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: ilinq-0.2.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5f77588cf1edb07b633d809c42c0e6ff50778b255320e94eeb8b698ac30634e |
|
MD5 | 973a8364c712387f665506fe17be1ce1 |
|
BLAKE2b-256 | 5f596eeba1c7378c1fad327c331fbf9ac0d549bd64518bc1260685fccfd1d9b3 |