Comparison
billiard vs lambda-multiprocessing vs loky vs mpire
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python multiprocessing fork with improvements and bugfixes
Actively maintained. Last release 4 weeks ago, commits in 9 of the last 26 weeks. A safe choice.
pip install billiarddrop-in replacement for multiprocessing.Pool in AWS Lambda functions (without /dev/shm shared memory)
Low maintenance activity. Last release 17 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install lambda-multiprocessingA 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 mpireIn short
- mpire is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- billiard is the most used: 55.2M downloads a month, 9.6× more than mpire.
- Maintenance is comparable: billiard 79, loky 74, lambda-multiprocessing 21 on Pythie’s Index.
- billiard is growing fastest: downloads +12% over the last month.
- Safe default for a new project: billiard.
Side by side
| Metric | billiard | lambda-multiprocessing | loky | mpire |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 79 | 21 |