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.2.tar.gz
(1.4 kB
view details)
Built Distribution
ilinq-0.2.2-py3-none-any.whl
(2.8 kB
view details)
File details
Details for the file ilinq-0.2.2.tar.gz
.
File metadata
- Download URL: ilinq-0.2.2.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57a2b30a020771fd068778f0914199bb2845b5fb549951d48aa8bd7bb2f2d283 |
|
MD5 | f414e99ac269941d7be22edd9b7821f4 |
|
BLAKE2b-256 | 80523ff08323c932a66490627d6f3a49ed2cc7f4ac6db5625b668c1e71218caf |
File details
Details for the file ilinq-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: ilinq-0.2.2-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 891468b07af24c306a7f3d79f1f7117410c6a503f51e69ef824fede777c6a8c5 |
|
MD5 | d16f28f9b7f26298749b8276bb1a0f7c |
|
BLAKE2b-256 | 7c3595fec87094cedd40ea85d9cd80914deb06181920d29afb7a9c5f3d95a0c3 |