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.1.tar.gz
(8.4 kB
view details)
Built Distribution
ilinq-0.3.1-py3-none-any.whl
(13.1 kB
view details)
File details
Details for the file ilinq-0.3.1.tar.gz
.
File metadata
- Download URL: ilinq-0.3.1.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62575dee203e8e4c9fd46bfcd67ef4ef269e89e5e3df80e6cca3f5e79999e416 |
|
MD5 | 67cd8a14f66a5551150e111c8984641d |
|
BLAKE2b-256 | 01ffdc4b4cb08cc07881b2931f8a68c7c8fcead0ebd1f041d7f12b2b8c4b45d5 |
File details
Details for the file ilinq-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: ilinq-0.3.1-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b278f28794d6de94e2300eb765f063bce43cdb74caddb75e6ebd03ed9e3a23f0 |
|
MD5 | 36702a2c0f0cff92ab998faa52160dfa |
|
BLAKE2b-256 | 516ba8da3e06dbacbbcc50467830b1458994ab739e7e337b23af5349f7595186 |