Installation#
Install the core package. It provides task registration, the Litestar plugin, in-memory queue storage, and local or immediate execution:
pip install litestar-queues
Optional extras#
Install only the integration your application uses:
Command |
Adds |
|---|---|
|
SQLSpec queue persistence; install the SQLSpec driver for your database separately. |
|
Advanced Alchemy and SQLAlchemy queue persistence. |
|
Redis queue persistence and worker wakeups. |
|
Valkey queue persistence and worker wakeups. |
|
Google Cloud Run Jobs execution. |
|
Amazon SQS execution dispatch and consumers. |
|
Google Cloud Pub/Sub execution dispatch and streaming consumers. |
|
RabbitMQ 4.3+ execution dispatch and consumers on Python 3.11+. |
|
OpenTelemetry instrumentation. |
|
Prometheus metrics. |
An extra installs the libraries for an integration. It does not configure that integration or choose where tasks run. Complete the Quickstart, then see Choose backends.