# django_rq_wrapper
Django management command for multiple rq workers in one command and autoreload.
—
This project builds off of [Django RQ](https://github.com/ui/django-rq). Instead of using the command python manage.py rqworker high default low, you can now run python manage.py 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 manage.py rqworkers high default low --workers 5
If you would like to have your workers autoreload the same way django’s runserver autoreloads, use the --autoreload flag:
python manage.py rqworkers high default low --autoreload
### Note for Heroku
Add the environment variable RQ_CONCURRENCY to your config with the number of workers appropriate for (your dyno type)[https://devcenter.heroku.com/articles/optimizing-dyno-usage#python].
Metadata
Release files for django-rq-wrapper 3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-rq-wrapper-3.1.tar.gz | 4.3 kB | Without provenance | Details for django-rq-wrapper-3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_rq_wrapper-3.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for django_rq_wrapper-3.1-py2.py3-none-any.whl |
Total release size: 9.5 kB
Release files / django-rq-wrapper-3.1.tar.gz
| Download URL | django-rq-wrapper-3.1.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28db01d4a9c7760e873351831c71ce2de03270f1f0bfeecd61f891054c3562e2
|
|
BLAKE2b-256 checksum How to use checksums |
be076dd50eeca3d14e7a94a48c94852e833ff1766212eb909972b891844f4758
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
|
Release files / django_rq_wrapper-3.1-py2.py3-none-any.whl
| Download URL | django_rq_wrapper-3.1-py2.py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9163a2c36b587b2ffea149f09e537c7c12a843ac592cc73bb26afc051749d46f
|
|
BLAKE2b-256 checksum How to use checksums |
7c09609b46b3f82ecd839b424f8aa9904be36030200d3135a65aeb99e53544c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
|
Security for django-rq-wrapper 3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.