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.1.tar.gz
(1.4 kB
view details)
Built Distribution
ilinq-0.2.1-py3-none-any.whl
(2.8 kB
view details)
File details
Details for the file ilinq-0.2.1.tar.gz
.
File metadata
- Download URL: ilinq-0.2.1.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e1bfce975e9ca013c33789c88e41fc8f644f535d6c293b710910650664878a2 |
|
MD5 | a74de9ec57a12b4ed1679bbc55b5ba6c |
|
BLAKE2b-256 | 7358373adb493482e18f2b12201675823376748633fccbd2d911d9c2bb42d580 |
File details
Details for the file ilinq-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: ilinq-0.2.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 | 475499448c6316131f45e8c161ac67f23fd488c2053cbb1b11c5f7728896ab8e |
|
MD5 | ec197fd5c932bae276524b88c7fd190e |
|
BLAKE2b-256 | a7ec18f4c06302a0906869cbb1714d478442945f19cb90ce697852a45ebc004e |