Brings LINQ to Python
Project description
Python-linq
Provides simple to use LINQ features to Python.
Inspired by py-linq
and linq.py
.
Install
Install using pip
pip install python-linq
Usage
- Import the Linq class
from python_linq import Linq
- Wrap an iterable using the Linq class
numbers = Linq([1, 2, 3])
- Write beautiful queries!
sq3 = numbers.select(lambda x: x * x + 3).to_list()
>>> [4, 7, 12]
Documentation
Coming soon...
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.0.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for python_linq-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94e2722b532116c6e4b5475d7dcafbd308db1f58364f008eb0ceb073c6cffcf7 |
|
MD5 | 8510a43d72334d0719e4422498546e75 |
|
BLAKE2b-256 | 7ee2e1b94882bd17f698b6239d15ba6f4c285982cab0c173250e9d92d5fcd40e |