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 installto install all packages from the repository Pipfile. - Install
pre-commitby typingpoetry run pre-commit install - You should now be ready to start coding!
Metadata
Release files for py-linq 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py_linq-1.4.0.tar.gz | 10.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_linq-1.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.5 kB
Release files / py_linq-1.4.0.tar.gz
| Download URL | py_linq-1.4.0.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75af1b618b8206e5a9505d1d9f9d1baa91811db9dd2f66c3bd75f72ac9db1551
|
|
BLAKE2b-256 checksum How to use checksums |
fbfebae330fc84aa15f7a450939e64f82895b011ee61cc858ad8f3a1ab037624
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.7.15 Linux/5.15.0-1031-azure
|
Release files / py_linq-1.4.0-py3-none-any.whl
| Download URL | py_linq-1.4.0-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a60cf0e9b30311e1e0f50a6adbe0badaece248afc1992f424281db8b4cc9b673
|
|
BLAKE2b-256 checksum How to use checksums |
5dc51029e9d1494cd64db600a6882eb4959407dd23c41d02c60ef58be83b489b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.7.15 Linux/5.15.0-1031-azure
|