Comparison
bm25s vs rank-bm25 vs tantivy
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 9 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-bm25Official Python bindings for the Tantivy search engine
Actively maintained. Last release 6 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
$
pip install tantivyIn short
- rank-bm25 is the most used: 10.1M downloads a month, 4.7× more than tantivy.
- tantivy is better maintained: Pythie’s Index 86 against 13.
- bm25s is growing fastest: downloads +11% over the last month.