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.2.tar.gz
(1.3 kB
view details)
Built Distribution
ilinq-0.1.2-py3-none-any.whl
(2.7 kB
view details)
File details
Details for the file ilinq-0.1.2.tar.gz
.
File metadata
- Download URL: ilinq-0.1.2.tar.gz
- Upload date:
- Size: 1.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e94504c59b31a36be0ec537441eede927617ed8121a8b95e3cd8c43f6cba8d0 |
|
MD5 | d1089f4b8c67f8dea72ea1f2273205f7 |
|
BLAKE2b-256 | 56b75ae0e12794f117a6faeeea25b1c5f9b9801e1a086a8ce32c901851e71fbe |
File details
Details for the file ilinq-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: ilinq-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56572280aa7fba7f4eea220cfe0f856debf1abca3794d8c2784030616b0c479d |
|
MD5 | ca7b0b9f47bd39620bd013a83febf184 |
|
BLAKE2b-256 | 831116aa7e3c158d1a91d290b826c6b303ec1f478ba21e85579dde6b3c1f70a5 |