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 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-1.1.0.tar.gz
(7.2 kB
view hashes)
Built Distribution
Close
Hashes for python_linq-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9d1d13d25db007f7e8ec004fa1f53118b3e0737e6bdc932532339d75cd4f0a8 |
|
MD5 | d7885637120290cf0d14e5853ccd80aa |
|
BLAKE2b-256 | 024675a6b897b5ce1fdf3a4b3e79284aae7a822d230a0e6a9ac0e8519070153a |