Comparison
Expression vs returns vs toolz
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Practical functional programming for Python 3.12+
Actively maintained. Last release 3 weeks ago, commits in 12 of the last 26 weeks. A safe choice.
$
pip install expressionMake your functions return something meaningful, typed, and safe!
Actively maintained. Last release 5 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install returnsList processing tools and functional utilities
Maintained. Last release 8 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and issue handling.
$
pip install toolzIn short
- toolz is the most used: 68.4M downloads a month, 11× more than Expression.
- returns is better maintained: Pythie’s Index 85 against 44.
- returns is growing fastest: downloads +32% over the last month.
Side by side
| Metric | Expression | returns | toolz |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | 85 |