linq library
Project description
This project provides the module like linq of C# for Python.
How To Install
$ python setup.py install
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.1.1.tar.gz
(1.4 kB
view details)
Built Distribution
ilinq-0.1.1-py3-none-any.whl
(2.8 kB
view details)
File details
Details for the file ilinq-0.1.1.tar.gz
.
File metadata
- Download URL: ilinq-0.1.1.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4885bfc78d8fc9b77e7911c46aae3e6ba2abe0f32590c1c8a1d5093d654e6c9c |
|
MD5 | 9d8469804bd0765d8193c257634ccf17 |
|
BLAKE2b-256 | 9b422f43706bad43c40a95d778c09a31f14282bbb50e3d950e2b3f1dcb9f0c64 |
File details
Details for the file ilinq-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: ilinq-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ade3d9edf4cbc04ebb0673f75d9ede0522d46458db7b17144436234e1b17eeb2 |
|
MD5 | 6136b2844e7b4ee78c1e94923818d854 |
|
BLAKE2b-256 | 1e1c8d9e875f18aaf5ee8da9104b4a9e8ca67aa2833f0a10d09e0961fa3d4f91 |