Installation
Prérequis
- Python 3.10+
- Aucune dépendance obligatoire (pur Python)
- Extras optionnels pour les fonctionnalités avancées
pip install
pip install whoosh-ng
Extras
| Extra | Description |
|---|---|
vector | Providers de recherche vectorielle (NumPy, HNSW, Faiss) |
autocomplete | Plugin d'autocomplétion |
api | Plugin FastAPI |
metrics | Intégration Prometheus |
all | Installer tout |
pip install whoosh-ng[all]
Installation pour le développement
git clone https://github.com/your-org/whoosh-NG.git
cd whoosh-NG
uv sync --extra dev
Vérification
uv run pytest tests/ -q
uv run ruff check src/ tests/
uv run ruff format --check .
uv run mypy src/whoosh