# JulienPalard/Pipe

A Python library to use infix notation in Python

Repository: https://github.com/JulienPalard/Pipe
Canonical: https://ross.abutalabs.com/products/pipe
Language: Python
License: MIT
License Family: permissive
Last push: 2025-03-23T18:09:06+00:00

## Health v2 (maintenance only)
Score: 28/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 12, release rhythm 8, longevity 100
- inputs: {"age_days": 5991, "days_push": 528, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2108, forks 114 (observed 2026-08-28T04:06:14.034134+00:00)

## What it is
Pipe is a Python library that enables shell-like infix syntax using the | operator to chain iterable transformations. It provides a collection of lazy, composable pipe utilities like where, select, take, and traverse for functional-style data processing.

## Use cases
- write chained iterable transformations with infix pipe syntax in Python
- filter and transform sequences lazily like shell pipes
- solve data-processing puzzles with readable pipelines
- deduplicate, batch, or flatten iterables with composable helpers
- alias and partially initialize reusable pipeline steps
- replace verbose itertools chains with concise pipe expressions

## When to choose
- you want readable, shell-style pipelines over Python iterables
- you prefer lazy evaluation and composable, aliasable transformations
- you want a small, pure-Python, MIT-licensed utility with no dependencies

## When to avoid
- your team avoids non-idiomatic syntax or custom operator overloading
- you need high-performance bulk data processing where itertools or vectorized libraries are faster
- you work in a codebase where infix pipes would confuse reviewers

## Facets
- artifact type: library
- maturity: active
- function: parser, developer-tools
- domain: programming-languages, developer-tools
- platform: python, cross-platform
- tags: infix-syntax, pipes, functional-programming, iterables, lazy-evaluation, pip-installable, algorithms

## Member repositories
- JulienPalard/Pipe (main) score 28

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:14.034134+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:53:52.604004+00:00, confidence not recorded.
  - readme: https://github.com/JulienPalard/Pipe (fetched 2026-08-28T04:06:14.034134+00:00, sha bb2c054df807)
  - registry_pypi: https://pypi.org/pypi/pipe/json (fetched 2026-08-29T10:33:57.035573+00:00, sha 29f2896f7d3b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
