Comparison
bm25s vs rank-bm25 vs Whoosh
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
An ultra-fast implementation of BM25 based on sparse matrices.
Actively maintained. Last release 6 days ago, commits in 11 of the last 26 weeks. A safe choice.
$
pip install bm25sVarious BM25 algorithms for document ranking
Low maintenance activity. Last release over 4 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install rank-bm25Fast, pure-Python full text indexing, search, and spell checking library.
Likely abandoned. No release or commit for years (last release over 10 years ago).
$
pip install whooshIn short
- Whoosh looks abandoned: avoid it for new projects.
- rank-bm25 is the most used: 10M downloads a month, 5.6× more than bm25s.
- bm25s is better maintained: Pythie’s Index 83 against 13.
- bm25s is growing fastest: downloads +15% over the last month.