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.6.tar.gz
(1.4 kB
view details)
Built Distribution
ilinq-0.2.6-py3-none-any.whl
(2.8 kB
view details)
File details
Details for the file ilinq-0.2.6.tar.gz
.
File metadata
- Download URL: ilinq-0.2.6.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5442aaaefebdd98efea924dd6665a301098bdfab6582f06578512923a1f6781c |
|
MD5 | fb1e8e2a43bd0d37763bb3a5130e11f4 |
|
BLAKE2b-256 | e1a34cb655518bb90150a90c213c43024a4609c631e8a4cc7ad6465afe85bea5 |
File details
Details for the file ilinq-0.2.6-py3-none-any.whl
.
File metadata
- Download URL: ilinq-0.2.6-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b38a508619180c27730db5c778f482ef992d191668a576b623b726cb7b397ba |
|
MD5 | 69366dc56aa398236ef4fea90d7da9be |
|
BLAKE2b-256 | 733eac49c905af62caf1ef5a0cbe5628b40389349f565092babb40f16165406a |