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.6.tar.gz
(1.4 kB
view hashes)
Built Distribution
ilinq-0.2.6-py3-none-any.whl
(2.8 kB
view hashes)