Skip to main content

Brings LINQ to Python

Project description

Python-linq

Provides simple to use LINQ features to Python.

Inspired by py-linq and linq.py.

Install

Install using pip

pip install python-linq

Usage

  1. Import the From class
    • from python_linq import From
  2. Write beautiful queries!
    • sq3 = From([1, 2, 3]).select(lambda x: x * x + 3).to_list()
      • >>> [4, 7, 12]

Examples

Coming soon... Meanwhile, have a look at the tests.

Documentation

Coming soon...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-linq-0.0.4.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

python_linq-0.0.4-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page