Crate

itertools

Extra iterator adaptors, methods, and free functions for Rust.

What it is

itertools extends Rust's standard Iterator with additional combinators: chunked, windowed, sorted, grouped, zipped, product, permutations, combinations, deduplication, and more. All methods are zero-cost lazy adaptors following the same pattern as std::iter.

Why it is commonly used

Used when the standard Iterator trait lacks a needed combinator. Common in data processing, graph algorithms, combinatorics, and functional-style Rust code that chains complex iterator pipelines.

412
Repositories
3.4M
Total stars
578
Active
521
Owners
Browse 626 repositories using itertools in Repos →
Often used with
Used by these organizations
50 of 626 repositories · ranked by stars
zed85kactive

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

union74kactive

The trust-minimized, zero-knowledge bridging protocol, designed for censorship resistance, extremely high security, and usage in decentralized finance.

openinterpreter64kactive

A lightweight coding agent for open models like Deepseek, Kimi, and Qwen

⑂ 5.6k270
firecracker35kactive

Secure and fast microVMs for serverless computing.

⑂ 2.4k89
qdrant32kactive

Qdrant - High-performance, massive-scale Vector Database and Vector Search Engine for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/

iced31kactive

A cross-platform GUI library for Rust, inspired by Elm

⑂ 1.6k445
jj30kactive

A Git-compatible VCS that is both simple and powerful

⑂ 1.1k1.1k
egui29kactive

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

⑂ 2.0k1.1k
nautilus_trader23kactive

Production-grade Rust-native trading engine with deterministic event-driven architecture

slint23kactive

Slint is an open-source declarative GUI toolkit to build native user interfaces for Rust, C++, JavaScript, or Python apps.

⑂ 899830
oxc22kactive

⚓ A collection of high-performance JavaScript tools.

⑂ 1.1k570
gitbutler21kactive

The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte

⑂ 951663
← Browse all repos