Skip to main content

A multi-progressbar implementation to complement multiprocessing.Process

Project description

The progrock.MultiProgress class is used in conjunction with the methods exposed at the module level such as progrock.increment to create a full-screen experience allowing the user to track the progress of individual processes as they perform their work.

Version Downloads License


progrock may be installed via the Python package index with the tool of your choice. I prefer pip:

pip install progrock


There are no requirements outside of the Python standard library.


The following image shows the example code listing in action:


The following example will create a process for each CPU core on the system that it is run on, displaying the MultiProgress screen. The child processes will iterate 100 times, updating their progress bar and then sleeping up to 1 second.

import progrock
import random

def example_runner(ipc_queue):
    # Update the processes status in its progress box
    progrock.set_status(ipc_queue, 'Running')

    # Increment the progress bar, sleeping up to one second per iteration
    for iteration in range(1, 101):

processes = []

# Create the MultiProgress instance
steps = multiprocessing.cpu_count() * 100
with MultiProgress('Example', steps=steps) as progress:

    # Spawn a process per CPU and append it to the list of processes
    for proc_num in range(0, multiprocessing.cpu_count()):

    # Wait for the processes to run
    while any([p.is_alive() for p in processes]):

Version History

Available at

Project details

Download files

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

Files for progrock, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size progrock-0.3.1-py2.py3-none-any.whl (10.8 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size progrock-0.3.1.tar.gz (7.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page