Hacker GitHub

← All repos

pytoolz/toolz

View on GitHub ↗ ★ 5,161 Python

A functional standard library for Python.

13 mentions on Hacker News by 11 people: 5 stories, 8 comments · first 2015-05-11 · latest 2025-01-20

Mentions per year 13 mentions · busiest year 2015 (3)
20082026
  1. In Python you have the wonderful https://github.com/pytoolz/toolz from toolz import pipe pipe('hello',lambda w: ( "foo", w ), lambda y: [ 0, y, 1 ]) [0, ('foo', 'hello'), 1] You can used named functions, but they would need to be define…
    comment by sitkack · 2025-01-20 · in All Lisp indentation schemes are ugly
  2. …expressiveness: - https://github.com/python-attrs/attrs - https://github.com/mahmoud/glom - https://github.com/pytoolz/toolz - https://github.com/Suor/funcy - https://github.com/dabeaz/curio ps: dabaez has great educational content on…
  3. This library might be of interest to you: https://github.com/pytoolz/toolz Specifically: https://toolz.readthedocs.io/en/latest/api.html#toolz.functo...
    comment by stefcoetzee · 2023-04-10 · in REBL
  4. …cover your use cases? There is also a Cython implementation if you need better performance. [0] https://github.com/pytoolz/toolz/
  5. I am with you on this. Personally, I would rather continue using Toolz ( https://github.com/pytoolz/toolz ), and contribute additional helper/utility methods to that library. The whole point of some things being functions versus methods is…
    comment by nerdponx · 2021-01-10 · in Show HN: Array – A Better Python List
  6. …who regularly writes stuff like zip(seq, islice(seq, 1, None))) may enjoy the `itertoolz` library https://github.com/pytoolz/toolz which (among many other handy functions) has a sliding_window function: def sliding_window(n, seq): """ A…
    comment by heisenzombie · 2020-10-11 · in Interrupted Loops
  7. I recommend PyToolz, "set of utility functions for iterators, functions, and dictionaries": https://github.com/pytoolz/toolz The functions in PyToolz are short, well tested and idiomatic Python (thought the functional programming paradigm…
    comment by shoyer · 2015-07-16 · in Ask HN: Good Python codebases to read?
  8. toolz is pretty good at lazy fp in python : https://github.com/pytoolz/toolz