Ross ROSS = Recommend OSS · open-source software intelligence for agents

ryanhaining/cppitertools

Implementation of python itertools and builtin iteration functions for C++17 observed · 2026-08-28

github.com/ryanhaining/cppitertools · homepage · C++ · BSD-2-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

48/100

  • Activity 56
  • Release rhythm 9
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 186
  • age_days: 4737
  • days_rel: 394
  • days_push: 269
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

1430 stars · 124 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A header-only C++17 library that ports Python's itertools and built-in iteration functions (range, enumerate, zip, groupby, combinations, etc.) to C++ range-based for loops. It uses lazy evaluation and works with standard iterators without copying underlying elements.

Use cases

  • use python-style enumerate and zip in C++ loops
  • generate permutations and combinations in C++
  • chunk or batch a container into groups
  • lazily filter and transform sequences in C++
  • implement sliding window over a range
  • group elements by a key like itertools.groupby

When to choose

  • you want Python-like iteration ergonomics in modern C++
  • you need a dependency-light, header-only iterator utility library
  • you want lazy evaluation to avoid materializing intermediate containers

When to avoid

  • you need zip_longest without a Boost dependency
  • your codebase targets pre-C++17 compilers
  • you need parallel or coroutine-based iteration pipelines

Facets

library · maturity stable

developer-tools developer-tools cpp cross-platform header-only itertools lazy-evaluation range-based-for python-inspired iterators algorithms

1 source

Member repositories

RepositoryRoleHealth v2
ryanhaining/cppitertoolsmain48

For agents

markdown · JSON · MCP: product_card(name="ryanhaining/cppitertools")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem