Comparison
outcome vs result vs returns
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Capture the outcome of Python function calls.
Low maintenance activity. Last release over 3 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install outcomeA Rust-like result type for Python
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install resultMake 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
- result is archived: avoid it for new projects.
- outcome is the most used: 33.5M downloads a month, 12× more than result.
- returns is better maintained: Pythie’s Index 85 against 20.
- returns is growing fastest: downloads +32% over the last month.