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.4.1.tar.gz
(8.6 kB
view details)
Built Distribution
ilinq-0.4.1-py3-none-any.whl
(13.1 kB
view details)
File details
Details for the file ilinq-0.4.1.tar.gz
.
File metadata
- Download URL: ilinq-0.4.1.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3ddf1e6abefda526c229e83a1f782b158f4557005c9a87a0fcc9d9e47d29a78 |
|
MD5 | 3f12783fed70146a6498cf7824f86e49 |
|
BLAKE2b-256 | fb2e5f96fe38a51f61a8df01c02ac6d81df00493e8555bd93282838135489ac8 |
File details
Details for the file ilinq-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: ilinq-0.4.1-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a57f4020be5dc34d75602646f25526984f88430d3b40f7b78a96ee258c0e1f93 |
|
MD5 | a33541dd5446fd7a3c6536d66f771576 |
|
BLAKE2b-256 | 8e5f2d3b45fd119a73d161bfb1d51a4a7f35cf4559e414d9bb65e01772eea418 |