Skip to main content

PyIter

Pypi version

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
  • parallel execution
  • strong typing

Install

pip install pyiter

Quickstart

from pyiter import it
from tqdm import tqdm


text = ["hello", "world"]
it(text).map(str.upper).to_list()
# ['HELLO', 'WORLD']


words = 'I dont want to believe I want to know'.split()
it(words).group_by(lambda x: x).map(lambda g: (g.key, g.values.count())).to_list()
# [('I', 2), ('dont', 1), ('want', 2), ('to', 2), ('believe', 1), ('know', 1)]


# use tqdm
it(range(10)).map(lambda x: str(x)).progress(lambda x: tqdm(x, total=x.len)).parallel_map(lambda x: x, max_workers=5).to_list()

Type inference .

API

See API documention.

  • You no need to read API documention. all functions are listed by the code completion as follows.

    .

  • All documentions are showed as follows.

    .

Similar libraries

Note that none of the following libraries are providing full strong typing for code completion.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Metadata

Release files for pyiter 0.13.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyiter 0.13.10
File Size Uploaded Provenance
pyiter-0.13.10.tar.gz 38.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyiter 0.13.10
File Interpreter ABI Platform
pyiter-0.13.10-py3-none-any.whl Python 3 none any Details

Total release size: 92.2 kB

Release files / pyiter-0.13.10.tar.gz

Download URL pyiter-0.13.10.tar.gz
Size 38.5 kB
Tags Source
SHA-256 checksum
How to use checksums
00616ba1a36150b43e1a8f7658b9e60b2f8b6786d6adb750e0bf15fc2faaf4cf
BLAKE2b-256 checksum
How to use checksums
cffb63337f075e8fc7e142e27258a9099337bf11d92bd532977950b298cacd97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

Release files / pyiter-0.13.10-py3-none-any.whl

Download URL pyiter-0.13.10-py3-none-any.whl
Size 53.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
614eff4d75cf66e643a19c4f1a351182c0340f339d78aac6eb0713b0c5fc45e8
BLAKE2b-256 checksum
How to use checksums
efbe5186e069ab89704f16449a8d53e2fc86095a0a583de7bdcfa68443dbaa8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

Security for pyiter 0.13.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyiter-0.13.10.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.13.10 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page