Skip to main content

No project description provided

Project description

Stats

pypi

Python parallel task-queue with redis

Based on

  • rq
  • redis
  • gevent

Environment variables

  • PRQ_LOGS - path to file with logs (512Mb data)

PipeLine

Every pipeline part use .wait() to get result, if you want, it not block other task, task run in parallel.

Example to test

  1. Start worker
python prq.py --url redis://localhost:6379

(export python path before) 2. (a) Start pipeline (2 task)

python examples/pipeline/task_pipeline.py
  1. (b) Start another task in parallel execution
python examples/tasks/default_task.py

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

prq-0.0.21.tar.gz (20.1 kB view hashes)

Uploaded Source

Built Distribution

prq-0.0.21-py3-none-any.whl (22.7 kB view hashes)

Uploaded Python 3

Supported by

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