Simple Python progress bar for parallel programs.
Project description
PProgress: A progress bar for parallel for loops with MPI
=========
By Fergus Horrobin - fergus.horrobin@mail.utoronto.ca
---------
Features
--------
Provides an all purpose Python based progress bar utility that can be run in
loops either running in serial or parallel with MPI or other utilities.
* When using parallel loops, each parallel progress gets a progress bar.
* The progress bar shows the percent completion of the tasks assigned to that
process.
* If there are multiple processes, all progress bars remain until the final one
finishes.
Installation
--------
PProgess can simply be install using pip as:
pip install pprogress
Then you can try out a simple serial example as:
.. code:: python
from pprogress import ProgressBar
from time import sleep
N = 100
pb = ProgressBar(N)
for i in range(N):
pb.update()
sleep(0.1)
pb.done()
Documentation
--------
Full documentation with parallel examples coming soon!
=========
By Fergus Horrobin - fergus.horrobin@mail.utoronto.ca
---------
Features
--------
Provides an all purpose Python based progress bar utility that can be run in
loops either running in serial or parallel with MPI or other utilities.
* When using parallel loops, each parallel progress gets a progress bar.
* The progress bar shows the percent completion of the tasks assigned to that
process.
* If there are multiple processes, all progress bars remain until the final one
finishes.
Installation
--------
PProgess can simply be install using pip as:
pip install pprogress
Then you can try out a simple serial example as:
.. code:: python
from pprogress import ProgressBar
from time import sleep
N = 100
pb = ProgressBar(N)
for i in range(N):
pb.update()
sleep(0.1)
pb.done()
Documentation
--------
Full documentation with parallel examples coming soon!
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
PProgress-0.0.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
PProgress-0.0.2-py3-none-any.whl
(15.5 kB
view hashes)
Close
Hashes for PProgress-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 142340ae2a91230ee767dd50f2ce7f4d0983ed32655351f47cf400796533e478 |
|
MD5 | 167331d1a534784be10e93a81777d61f |
|
BLAKE2b-256 | e54a1ee9f3c5eb330b665b5e7dff0dc677c83c5aba98384b2e530945cd1bc2b0 |