Comparison
bm25s vs rank-bm25 vs tantivy 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 12 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 24 of the last 26 weeks. A safe choice.
pip install tantivyFast, 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: 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 +16% over the last month.