Skip to content

ppqueue

A Parallel Process Queue for Python.



GitHub tag (with filter) GitHub last commit (branch) GitHub Repo stars License


Overview

ppqueue is a Python module that serves as an abstraction layer to both multiprocessing.Process and threading.Thread. I built ppqueue because I too often notice that parallelizing code results in ugly code. With this simple Queue, you can parallelize code easily and attractively. ppqueue offers:

  • a single API for parallel execution using processes or threads.
  • FIFO priority queueing.
  • Gantt charts of job execution (thanks plotnine + pandas)
  • progress bars (thanks to tqdm)

Install

Install from PyPi:

pip install ppqueue[plot]

Examples

An notebook of examples is available at:

www.f2dv.com/r/ppqueue/page/examples/

And more examples are provided in the reference docs:

www.f2dv.com/r/ppqueue/reference/


Brought to you by...