PyIter is a Python package for iterative operations inspired by the Kotlin、CSharp(linq)、TypeSrcipt and Rust . Enables strong typing and type inference for iterative operations.
Project description
PyIter
PyIter is a Python package for iterative operations inspired by the Kotlin、CSharp(linq)、TypeSrcipt and Rust . Enables strong typing and type inference for iterative operations.
- Chain operations like map, reduce, filter_map
- Lazy evaluation
- strong typing
Install
pip install pyiter
Quickstart
from pyiter import it
text = ["hello", "world"]
iterate(text).map(str.upper).to_list()
# ['HELLO', 'WORLD']
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
pyiter-0.0.4.tar.gz
(7.1 kB
view hashes)
Built Distribution
pyiter-0.0.4-py3-none-any.whl
(6.8 kB
view hashes)