Installation¶
Requirements¶
- Python 3.10 or later
- No external dependencies for core functionality
drogue has zero runtime dependencies for the core rate limiting engine. Framework adapters, storage backends, and observability integrations are installed as optional extras.
Install from PyPI¶
Framework extras¶
pip install drogue[fastapi] # FastAPI + Starlette
pip install drogue[django] # Django
pip install drogue[flask] # Flask
pip install drogue[drf] # Django REST Framework
Storage extras¶
Observability extras¶
pip install drogue[prometheus] # Prometheus metrics
pip install drogue[opentelemetry] # OpenTelemetry tracing
pip install drogue[adaptive] # CPU/memory adaptive limits (psutil)