Comparison
loky vs mpire vs pathos vs Pebble
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A robust implementation of concurrent.futures.ProcessPoolExecutor
Actively maintained. Last release 2 months ago, commits in 12 of the last 26 weeks. A safe choice.
pip install lokyA Python package for easy multiprocessing, but faster than multiprocessing
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install mpireparallel graph management and execution in heterogeneous computing
Maintained. Last release 10 months ago, commits in 9 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install pathosThreading and multiprocessing eye-candy.
Maintained. Last release 8 weeks ago, commits in 9 of the last 26 weeks. Weaker on contributor spread and security practices.
pip install pebbleIn short
- mpire is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- pathos is the most used: 12.4M downloads a month, 1.6× more than Pebble.
- loky is better maintained: Pythie’s Index 76 against 50.
- Pebble is growing fastest: downloads +493% over the last month.