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.3.0.tar.gz
(7.8 kB
view details)
Built Distribution
ilinq-0.3.0-py3-none-any.whl
(10.2 kB
view details)
File details
Details for the file ilinq-0.3.0.tar.gz
.
File metadata
- Download URL: ilinq-0.3.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bb76ee47bd564208f5c3534b492ce0f417891c21eba903e7c020e6822b7f900 |
|
MD5 | 44c6fd70589e0b2e507cd1909d52fea1 |
|
BLAKE2b-256 | 0621a8eed0deceb2f9dfb86dfb8c843915f3f428fe2232fb143381a2254cb16c |
File details
Details for the file ilinq-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: ilinq-0.3.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fab9ed83bd01e00fd894f56a9a205ee7454bc66938d4acece38e01b0e509c22 |
|
MD5 | f911103c457ec2d801468a74fa34afb7 |
|
BLAKE2b-256 | a041eff136c6403c94d3670e28ffbe08e2658da63ec0ac775fe51f7beb6d4898 |