# Suor/funcy

A fancy and practical functional tools

Repository: https://github.com/Suor/funcy
Canonical: https://ross.abutalabs.com/products/funcy
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: functional-programming, utilities, python
Last push: 2026-08-17T01:46:47+00:00

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

## Adoption (not part of the score)
Stars 3510, forks 156 (observed 2026-08-28T04:08:07.688732+00:00)

## What it is
Funcy is a Python library providing a practical collection of functional programming tools inspired by Clojure and Underscore. It offers utilities for merging and transforming collections, manipulating sequences, composing functions, creating decorators, and abstracting control flow.

## Use cases
- merge and transform dicts, sets, lists, and iterators while preserving type
- group, partition, chunk, and flatten sequences
- curry, compose, and partially apply functions
- write custom decorators with minimal boilerplate
- add retry, rate limiting, and error suppression to unreliable calls
- filter and select items from collections by predicate or regex

## When to choose
- you want Clojure/Underscore-style functional utilities in Python
- you frequently transform dicts and sequences and want type-preserving map-like operations
- you need lightweight decorators, retries, or error-rate limiting without a big framework

## When to avoid
- your team prefers plain Python idioms and avoids functional style
- you need heavy-duty data processing better served by pandas or itertools pipelines
- you are not on Python 3.4+ or pypy3

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools, concurrency, error-handling
- domain: developer-tools, programming-languages
- platform: python, cross-platform
- tags: functional-programming, utilities, collections, decorators, lazy-iterators, algorithms

## Member repositories
- Suor/funcy (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:07.688732+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-29T18:35:43.706906+00:00, confidence not recorded.
  - readme: https://github.com/Suor/funcy (fetched 2026-08-28T04:08:07.688732+00:00, sha 553d323b39ef)
  - registry_pypi: https://pypi.org/pypi/funcy/json (fetched 2026-08-29T09:29:38.618580+00:00, sha 15323aee4611)
- Data as of 2026-08-30T08:39:29.467469+00:00.
