Brings LINQ to Python
Project description
Python-linq
Provides simple to use LINQ features to Python 3.x.
Inspired by py-linq
and linq.py
.
Install
Install using pip
pip install --user python-linq
Usage
- Import the From class
from python_linq import From
- Write beautiful queries!
sq3 = From([1, 2, 3]).select(lambda x: x * x + 3).to_list()
>>> [4, 7, 12]
Documentation & Examples
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
python-linq-0.1.2.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for python_linq-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 974288cf566d6389f7f287b1d2b513237f3969ea4a58be29bcdcba81d8b5e8e9 |
|
MD5 | 05bffad5de6765a9ed0e77d7b0d0bda4 |
|
BLAKE2b-256 | 265a52e671cf1383ac1e9ade3940d4bbbcfd0f5c27909369109b8731492b59db |