Comparison
joblib vs loky vs mpire vs multiprocess
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Lightweight pipelining with Python functions
Actively maintained. Last release 3 months ago, commits in 21 of the last 26 weeks. A safe choice.
pip install joblibA 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 mpirebetter multiprocessing and multithreading in Python
Maintained. Last release 10 months ago, commits in 13 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install multiprocessIn short
- mpire is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- joblib is the most used: 212.6M downloads a month, 2.5× more than multiprocess.
- Maintenance is comparable: joblib 78, loky 76, multiprocess 61 on Pythie’s Index.
- joblib is growing fastest: downloads +18% over the last month.
- Safe default for a new project: joblib.
Side by side
| Metric | joblib | loky | mpire | multiprocess |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 78 | 76 |