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.2.tar.gz
(8.6 kB
view details)
Built Distribution
ilinq-0.4.2-py3-none-any.whl
(13.1 kB
view details)
File details
Details for the file ilinq-0.4.2.tar.gz
.
File metadata
- Download URL: ilinq-0.4.2.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 | b36efa90dae12c9c202ce7b6cdfb1be7272f0dd767afaa70a58522ced16f4581 |
|
MD5 | 2b5acdb3afd4a5532530e4a37102e433 |
|
BLAKE2b-256 | ddbb62d7e2acdf26b6ba15ddeef52e5b1f104d32fee212906200bd97bf532fb0 |
File details
Details for the file ilinq-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: ilinq-0.4.2-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 | 0619dd87602d67aca6c9b675efce54afefc5f9f1c93a004d7c89c5ba882fc40a |
|
MD5 | 285faba5a267c86165d5df721cac57f6 |
|
BLAKE2b-256 | d576846c070f3a485b01ee82ff49b2ffa9560b54ff576dfde4e42a8f0bc9c566 |