🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

prq

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prq

0.0.21
PyPI
Maintainers
1

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

  • 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
  • (b) Start another task in parallel execution
python examples/tasks/default_task.py

Keywords

python

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts