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 pipenv $ pipenv install --dev
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.2.tar.gz
(12.4 kB
view details)
Built Distribution
ilinq-0.3.2-py3-none-any.whl
(12.9 kB
view details)
File details
Details for the file ilinq-0.3.2.tar.gz
.
File metadata
- Download URL: ilinq-0.3.2.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.8.1 Darwin/18.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a28be28ade3b35a709fa5a12e70010ec912d62d7ad059de242b0d1ca38c5b82 |
|
MD5 | 3a204a04c0523406b578a3418a2b6168 |
|
BLAKE2b-256 | 31913c2b41039a61b9c6844e52b8cc98fa1350bfa04c79b6d70c14e52028e283 |
File details
Details for the file ilinq-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: ilinq-0.3.2-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.8.1 Darwin/18.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b84c602d76b43de7248ff094ec25f92ef03a88754fc2794547ebb18225f0d588 |
|
MD5 | 024400781e48749b12c1e4ae178e4c68 |
|
BLAKE2b-256 | e9e243e12ceaf4f84b7d3f1475765705ff4c0ec28c589abd1fb1d1723bfb1cee |