HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
EntilZha
PyFunctional
Python2017–2023
EntilZha / PyFunctional

PyFunctional

Python library for creating data pipelines with chain functional programming

6Distinct people
6Mentions
0Explicit recommenders
2.5KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Python library for creating data pipelines with chain functional programming

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year6 dated mentions

Observed mentions: 2017-03-04 16:31:40 UTC to 2023-07-25 16:26:01 UTC.

012342017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC413
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC000
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC110
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101

What Hacker News says

6 sources
I was going to comment along these lines - while functools exists, where appropriate I'd say iterators and/or list comprehensions are more pythonic. Note that if one wants to work with simple reduce functions, there's the operator module to help: from functools import reduce from operator import add # I'd also say this makes for more readable code, # documenting intent - but many will probably say that # basic arithmetic should be clear enough: def is_even(n): return n % 2 == 0 def square(n): return n*n # Don't do this for summing integers, just use "sum": reduce(add, (square(n) for n in range(1,5) if is_even(n))) > 20 Note the use of range() rather than literal list - if you have a list, that should probably be passed in by name. Anyway, the point wasn't so much bikeshedding or code golfing - just expand
Read the rest
ing on what I think is "more pythonic" take on it. And to be clear, I'd probably prefer: sum(x * x for x in range(1,5) if x % 2 == 0) for this particular example. And for more complex "real world" cases, I'd probably prefer to define my "reduce" function directly ie: def my_sum(iterator): return reduce(add, iterator) int_sequence = range(1,5) my_sum(square(n) for n in int_sequence if is_even(n)) > 20 Note that python has map and filter as built-ins, so it's also possible to do: sum(map(lambda x:x*x,filter(lambda n:n%2==0,range(1,5)))) # Which I find rather unreadable, but gets a bit better # without lambdas: sum(map(square, filter(is_even,int_sequence))) (Phew, please excuse my personal dive into new/old list-comprehension/functional python -- but at least now I'm more clear on why everyone keep adding "threading" macros/syntax to their functional languages :-) [ed: And if one wants threading-like syntax along with some parallelization and lazy-ness in python, there's a module for that: https://github.com/EntilZha/PyFunctional from functional import seq (seq(range(1,5)) .map(square) .filter(is_even) .reduce(add) ) Just FYI.]
In Phoenix 1.3 is pure love for API development

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.