This project is based on viralogic's repository py_linq
LINQ (Language Integrated Query) is a popular querying language available in .NET. This library ports the language so that developers can query collections of objects using the same syntax. This library would be useful for Python developers with experience using the expressiveness and power of LINQ.
To access the LINQ functions an iterable needs to be wrapped by the Enumerable
from py_linq import Enumerable
clist = [5,4,3,2,1,0]
Enumerable(clist).order_by(lambda x: x).take(2).where(lambda x: x > 0).to_list()
Please visit the original project's documentation site