Skip to main content

RQ Worker class that works for development on Windows

Project description

Windows RQ Worker

Provides a WindowsWorker class that allows you to use Redis Queue (RQ) on Windows systems. This is for development/testing purposes only.

Since Windows does not support fork(), we execute all work in the main worker thread instead of forking off a separate worker process. As a result, workers may not be as stable and crash resistant.

Further, since Windows does not support SIGALRM, WindowsWorkers do not provide any of the work timeout controls that normal workers provide.

Installation and Use

You can install the latest stable version from PyPI:

$ pip install rq-win==0.4.2

(Previously, this package was installed directly from GitHub:

$ pip install git+https://github.com/michaelbrooks/rq-win.git#egg=rq-win

Note: This version has been repackaged as rq.compat is no longer supported.)

To start an RQ worker using the WindowsWorker class:

$ rqworker -w rq_win.WindowsWorker

Contributions and improvements are welcome!

Requirements


  • Version rq > 1.2.0

Project details


Download files

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

Source Distribution

rq_win-0.4.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rq_win-0.4.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file rq_win-0.4.2.tar.gz.

File metadata

  • Download URL: rq_win-0.4.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for rq_win-0.4.2.tar.gz
Algorithm Hash digest
SHA256 f7c4a573a225ffc48044050d6b2b188e8423ffaec318d80af94462b6751f9478
MD5 1bebdb7414d80a88d4951d64cf4c26b0
BLAKE2b-256 6ffe92187f1ebb14760299e401e29ed6c1f4f3d415ed130fbc1575f148689242

See more details on using hashes here.

File details

Details for the file rq_win-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: rq_win-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for rq_win-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f7c5cf1a7f7c846988e59099901c973eacd50badfe50e2c00b9180b567a68482
MD5 eea4521e07451e8755a657a7d886d6d0
BLAKE2b-256 bb8d57d2020ca2deadb4b9aa2cb2d274695d9ee110cee1fbf69beacc34a442f6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page