{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/16"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/19"}],"enrichment":{"capability":"Pipe enables shell-like infix syntax for chaining operations on iterables using the `|` operator, providing lazy-evaluated transformations like filtering, mapping, grouping, and slicing.","skillfed_tags":["functional-programming","data-pipeline","lazy-evaluation"],"use_cases":["Process sequences of data with readable, left-to-right transformations instead of nested function calls or list comprehensions.","Solve algorithmic problems (like Project Euler) by chaining filters and transformations on infinite generators.","Debug multi-stage data pipelines by inserting the `tee` pipe to inspect intermediate values without breaking the chain.","Build reusable, aliased pipes for common filtering or transformation patterns in data processing workflows.","Flatten or traverse nested iterables recursively using the `traverse` pipe for complex data structures."],"what_it_does":"Pipe is a Python library that brings shell-like infix syntax to iterable operations by overloading the `|` operator. Instead of nested function calls, you write transformations in a left-to-right pipeline: `data | filter_fn | map_fn | take(n)`. Each pipe operation is lazy-evaluated, meaning computation happens only when needed, and pipes can be aliased and partially initialized for reuse.\n\nThe library provides a collection of composable operations\u2014select (map), where (filter), take, skip, groupby, dedup, transpose, traverse, and many others\u2014that work on any iterable. It's useful for data processing tasks where readability and functional composition matter more than raw performance, and it integrates naturally with Python's itertools and generator patterns.","worth_installing":"Yes, if you value readable, functional-style data pipelines and work frequently with iterables. The library is stable, has no dependencies, and installs easily. However, maintenance is aging (last release April 2024, no recent commits), so consider it for stable use cases rather than as a foundation for mission-critical infrastructure. Not worth installing if you prefer standard Python idioms (list comprehensions, itertools) or need active development support."},"id":"pipe","links":{"html":"https://skillfed.io/packages/pipe","md":"https://skillfed.io/packages/pipe.md","pypi":"https://pypi.org/project/pipe/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-04-04","license_spdx":null,"license_treatment":"permissive","name":"pipe","python_support":"supports_current","summary":"Module enabling a sh like infix syntax (using pipes)"},"popularity":{"monthly_downloads":111231,"position":12425,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.2"}
