Comparison
lap vs munkres
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 2 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 munkresIn short
- lap is the most used: 1M downloads a month, 1.6× more than munkres.
- lap also has the best Pythie’s Index (56).
- munkres is growing fastest: downloads +11% over the last month.