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

codecov

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.4.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

py_linq-1.4.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file py_linq-1.4.0.tar.gz.

File metadata

  • Download URL: py_linq-1.4.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.7.15 Linux/5.15.0-1031-azure

File hashes

Hashes for py_linq-1.4.0.tar.gz
Algorithm Hash digest
SHA256 75af1b618b8206e5a9505d1d9f9d1baa91811db9dd2f66c3bd75f72ac9db1551
MD5 052daafea6bd470089612ee1a16e6e59
BLAKE2b-256 fbfebae330fc84aa15f7a450939e64f82895b011ee61cc858ad8f3a1ab037624

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_linq-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.7.15 Linux/5.15.0-1031-azure

File hashes

Hashes for py_linq-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a60cf0e9b30311e1e0f50a6adbe0badaece248afc1992f424281db8b4cc9b673
MD5 759460e2d644c38a672a1eef6fe32fea
BLAKE2b-256 5dc51029e9d1494cd64db600a6882eb4959407dd23c41d02c60ef58be83b489b

See more details on using hashes here.

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