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
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.
- Clone the repository using
git clone https://github.com/viralogic/py-enumerable.git
- Install poetry globally as per the instructions here
- CD into the root of your cloned repository directory and
poetry install
to install all packages from the repository Pipfile. - Install
pre-commit
by typingpoetry run pre-commit install
- You should now be ready to start coding!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75af1b618b8206e5a9505d1d9f9d1baa91811db9dd2f66c3bd75f72ac9db1551 |
|
MD5 | 052daafea6bd470089612ee1a16e6e59 |
|
BLAKE2b-256 | fbfebae330fc84aa15f7a450939e64f82895b011ee61cc858ad8f3a1ab037624 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a60cf0e9b30311e1e0f50a6adbe0badaece248afc1992f424281db8b4cc9b673 |
|
MD5 | 759460e2d644c38a672a1eef6fe32fea |
|
BLAKE2b-256 | 5dc51029e9d1494cd64db600a6882eb4959407dd23c41d02c60ef58be83b489b |