ilinq 0.4.2

Creator: bradpython12

Last updated:

Add to Cart

Description:

ilinq 0.4.2

This project provides the module like linq of C# for Python.
Documentation

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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.