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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_linq-1.3.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file py-linq-1.3.0.tar.gz.

File metadata

  • Download URL: py-linq-1.3.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.6.13 Linux/5.8.0-1036-azure

File hashes

Hashes for py-linq-1.3.0.tar.gz
Algorithm Hash digest
SHA256 2487d24645922c916268a5a08c47adda6f9112b63a330acdfb8fc3e441c36973
MD5 43f81129fb9d3a4dc0d458ea532de580
BLAKE2b-256 cb6f59e02eabdc502aaaf91589e500a09148702dc7463dc7ee5380cd5c1e81d6

See more details on using hashes here.

File details

Details for the file py_linq-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: py_linq-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.6.13 Linux/5.8.0-1036-azure

File hashes

Hashes for py_linq-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e0323765c4f9811ffe676c53d9215df7a7644933fb1ae1f3a43cd2eed71b0f7
MD5 1061db69de49f236301527c1ac8d9037
BLAKE2b-256 b969b8200ab8aebb712d9c2c3dc9327dc6d14cd1f48407a1fa73ed49beb06c6e

See more details on using hashes here.

Supported by

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