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.7.tar.gz
(7.8 kB
view details)
Built Distribution
ilinq-0.2.7-py3-none-any.whl
(10.2 kB
view details)
File details
Details for the file ilinq-0.2.7.tar.gz
.
File metadata
- Download URL: ilinq-0.2.7.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16ce1177295569aaeeef05fd3b9dfba97b564ad0c2f63e4f226b2135d6c128de |
|
MD5 | e23717c96ef1b382757893ed7727cd6f |
|
BLAKE2b-256 | 757b3030afc820c524eccb1c2669972587e815c91d1e5b2ac6f24aa4b2b36442 |
File details
Details for the file ilinq-0.2.7-py3-none-any.whl
.
File metadata
- Download URL: ilinq-0.2.7-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 598caa193b42c12b42151686f2b117e2314527e58fb2868f5b57dc6e0671a817 |
|
MD5 | f0730fdb29ba11f37ffa7b6eae5f393a |
|
BLAKE2b-256 | bac626848babf998e0b4844368cdc2e3e85e53925600db2d5c51dab8b774f21f |