Booting Python (Pyodide) and installing Whoosh…
Try:
python
search AND pure
index*
"full text"
What is this? This page loads
Pyodide (CPython compiled to WebAssembly),
installs the real Whoosh wheel with pip, builds an in-memory index
from a small corpus, and runs your queries — with BM25 ranking and result
highlighting — with no server. That's the whole point of Whoosh:
it's an embedded, pure-Python search library.
Because Whoosh is pure Python, the same code runs on your laptop, your server, PyPy, and (as you can see) the browser.
⭐ Star Whoosh on GitHub · 📖 Documentation · Quickstart · Add search to Flask/Django · Read: Whoosh is back → · Whoosh vs SQLite FTS5 → · Whoosh vs Tantivy →