Comparison
loky vs mpire 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 11 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 mpireThreading 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.
- Pebble is the most used: 7.6M downloads a month.
- Maintenance is comparable: loky 74, Pebble 70 on Pythie’s Index.
- Pebble is growing fastest: downloads +493% over the last month.
- Safe default for a new project: Pebble.