Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Django management command to run multiple rq workers in one command and autoreload.

Project Description
# django_rq_wrapper

Django management command for multiple rq workers in one command and autoreload.


This project builds off of [Django RQ]( Instead of using the command `python rqworker high default low`, you can now run `python rqworkers high default low`.

### Installation

pip install django-rq-wrapper

Add ``django_rq_wrapper`` to your installed apps. Use the management command ``rqworkers``.

### Added command options:

If you need to run multiple workers, you can pass in the ``--workers`` flag with the
number of workers you want to spawn. If you don't pass in this flag, the number of
workers will default to the environment variable ``RQ_CONCURRENCY``, or 1 if that
is not set::

python rqworkers --workers 5

If you would like to have your workers autoreload the same way django's runserver
autoreloads, use the ``--autoreload`` flag::

python rqworkers --autoreload

rqworkers automatically detects and connects to all RQ_QUEUES in your settings file if no queue is specified.

### Note for Heroku

Add the environment variable ``RQ_CONCURRENCY`` to your config with the number of workers
appropriate for (your dyno type)[].
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_rq_wrapper-3.0-py2.py3-none-any.whl (6.2 kB) Copy SHA256 Checksum SHA256 3.6 Wheel Sep 7, 2017
django-rq-wrapper-3.0.tar.gz (4.6 kB) Copy SHA256 Checksum SHA256 Source Sep 7, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting