Comparison
bm25s vs pyserini 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 bm25sA Python toolkit for reproducible information retrieval research with sparse and dense representations
Actively maintained. Last release 6 days ago, commits in 25 of the last 26 weeks. A safe choice.
pip install pyseriniVarious 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.
- pyserini is better maintained: Pythie’s Index 89 against 13.
- pyserini is growing fastest: downloads +63% over the last month.
Side by side
| Metric | bm25s | pyserini | rank-bm25 | tantivy |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | Pythie’s Index: 89 | Pythie’s Index: 13 | Pythie’s Index: 86 |
| Verdict | Actively maintained | Actively maintained | Low maintenance activity | Actively maintained |
| Downloads / month | 1.8M | 109.9K | 10.1M | 2.2M |
| Downloads, month over month | +11% | +63% | +6% | +9% |
| GitHub stars | 1.8K | 2.2K | 1.4K | 437 |
| Stars, last 7 days | +5 | – | +3 | +1 |
| Direct dependents | 105 | 10 | 616 | 72 |
| Last release | Nov 27, 2026 | Nov 30, 2026 | Feb 16, 2022 | Oct 22, 2026 |
| Releases, 12 months | 20 | 9 | 0 | 3 |
| Weeks with commits | 11 / 26 | 25 / 26 | 0 / 26 | 25 / 26 |
| Recent contributors | 22 | 71 | 6 | 13 |
| First release | Apr 2024 | Nov 2019 | Jan 2019 | Jan 2020 |
| Python versions | – | – | – | – |
| License | MIT | Apache-2.0 | Apache-2.0 | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.