GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing python-rq.org — RQ: Simple job queues for Python RQ (Redis Queue) is a simple Python library for queueing jobs and processing them in the background with workers. It is backed by Redis/Valkey and is designed to have a low barrier to entry. It integrates easily with your web or application stack. RQ requires Redis >= 5 or Valkey >= 7.2. Getting StartedFirst, run a Redis/Valkey server. To put jobs on queues, you don’t have to do anything special, just define your typically lengthy or blocking function: Then, create a RQ queue: And enqueue the function call: Scheduling JobsScheduling jobs are similarly easy: Repeating JobsTo repeat jobs multiple times: Note that jobs will only repeat after successful executions. To retry failed jobs, use Retrying Failed JobsYou can also ask RQ to retry failed jobs: The WorkerTo start executing enqueued function calls in the background, start a worker from your project’s directory: That’s about it. InstallationSimply use the following command to install the latest released version: High Level OverviewThere are several important concepts in RQ:
Project HistoryThis project has been inspired by the good parts of Celery, Resque and this snippet, and has been created as a lightweight alternative to existing queueing frameworks, with a low barrier to entry. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |