Comparison
fastcluster vs lap vs munkres vs scipy
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Fast hierarchical clustering routines for R and Python.
Maintained. Last release 19 months ago, commits in 12 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install fastclusterLinear 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 munkresFundamental 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
- 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.
Side by side
| Metric | fastcluster | lap | munkres | scipy |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 49 | 58 |