kachayev/fn.py
Functional programming in Python: implementation of missing features to enjoy FP observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4980
- days_rel: n/a
- days_push: 1464
- n_releases_24m: 0
Adoption not part of the score
3368 stars · 203 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Fn.py is a Python library that adds functional programming utilities missing from the standard library, such as Scala-style lambda syntax via the underscore placeholder, persistent data structures, currying, and composition helpers. It lets developers apply functional style even in mostly imperative Python programs.
Use cases
- write concise lambda expressions like _ * 2 in Python
- use persistent immutable data structures like skew heaps
- compose and curry functions functionally
- apply functional programming style in imperative Python code
- replace verbose lambda boilerplate with placeholder syntax
When to avoid
- you need actively developed persistent data structures (marked under active development)
- you work in an interactive shell where _ conflicts with last output
- your team prefers plain Python idioms over FP abstractions
Facets
library · maturity maintenance
developer-tools programming-languages developer-tools python cross-platform functional-programming lambdas immutable-data-structures monads currying
1 source
- readme: https://github.com/kachayev/fn.py · fetched 2026-08-28 · e87c8c1ce544
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kachayev/fn.py | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem