Skip to main content

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.

Project description

Python package

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.

Install

Available as a package from PyPI.

pip install py-linq

Usage

To access the LINQ functions an iterable needs to be wrapped by the Enumerable

from py_linq import Enumerable
my_collection = Enumerable([1, 2, 3])

Documentation

Please visit the project site for better documentation

Contributing

Contributions are welcomed. This project uses poetry to handle the few library dependencies. Pre-commit is also used so that formatting and linting checks are performed on commit.

  1. Clone the repository using git clone https://github.com/viralogic/py-enumerable.git
  2. Install poetry globally as per the instructions here
  3. CD into the root of your cloned repository directory and poetry install to install all packages from the repository Pipfile.
  4. Install pre-commit by typing poetry run pre-commit install
  5. You should now be ready to start coding!

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

py-linq-1.3.0.tar.gz (10.5 kB view hashes)

Uploaded Source

Built Distribution

py_linq-1.3.0-py3-none-any.whl (10.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