Comparison
Expression vs returns
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 returnsIn short
- Expression is the most used: 6M downloads a month, 3.6× more than returns.
- Maintenance is comparable: returns 85, Expression 82 on Pythie’s Index.
- returns is growing fastest: downloads +32% over the last month.
- Safe default for a new project: Expression.
Side by side
| Metric | Expression | returns |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | 85 |