Skip to content

A Python module used for interacting with collections of objects using LINQ syntax

Notifications You must be signed in to change notification settings

DominikLindorfer/LINQ_Python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LINQ Python

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.

Usage

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() 

Documentation

Please visit the original project's documentation site

About

A Python module used for interacting with collections of objects using LINQ syntax

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%