Comparison
lap vs munkres vs pyroots vs scipy
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Linear Assignment Problem solver (LAPJV/LAPMOD).
Maintained. Last release 4 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install lapThe Munkres (Hungarian) algorithm for the assignment problem: fast, typed, dependency-free.
Maintained. Last release 6 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install munkresPure python single variable function solvers
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install pyrootsFundamental algorithms for scientific computing in Python
Actively maintained. Last release 3 months ago, commits in 26 of the last 26 weeks. A safe choice.
pip install scipyIn short
- pyroots looks abandoned: avoid it for new projects.
- scipy is the most used: 427.8M downloads a month, 427× more than lap.
- scipy also has the best Pythie’s Index (86).
- scipy is growing fastest: downloads +21% over the last month.
- Safe default for a new project: scipy.