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

elliotchance/pie

🍕 Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance. observed · 2026-08-28

github.com/elliotchance/pie · homepage · Go · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

49/100

  • Activity 58
  • Release rhythm 8
  • 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: n/a
  • age_days: 2711
  • days_rel: 645
  • days_push: 254
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

2038 stars · 95 forks observed · 2026-08-28

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

pie is a Go utility library providing type-safe, performant functions for common operations on slices and maps using generics. It supports both standalone parameterized functions and chainable wrappers (pie.Of, pie.OfOrdered, pie.OfNumeric) for Go 1.18+.

Use cases

  • filter and map over Go slices with type safety
  • chain multiple slice transformations in Go
  • check if any or all slice elements match a condition
  • compute average, sum, or other numeric aggregations of a slice
  • deduplicate, diff, or chunk slices
  • replace verbose hand-written slice loops with utility functions

When to choose

  • you write lots of slice/map manipulation code in Go 1.18+
  • you want generics-based type safety instead of interface{}-based libraries
  • performance close to native Go loops matters

When to avoid

  • you are on Go 1.17 or earlier (use pie v1 instead)
  • you prefer the standard library slices package with no extra dependency
  • you need complex data transformation beyond simple slice/map operations

Facets

library · maturity stable

developer-tools developer-tools go slices maps generics utility-library functional-programming type-safety algorithms

4 sources

Member repositories

RepositoryRoleHealth v2
elliotchance/piemain49

For agents

markdown · JSON · MCP: product_card(name="elliotchance/pie")

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