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:
```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:
```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.1.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
PProgress-0.0.1-py3-none-any.whl
(15.5 kB
view details)
File details
Details for the file PProgress-0.0.1.tar.gz.
File metadata
- Download URL: PProgress-0.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/2.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa822bfebbe9e807ee57702d9205ba2b64749a94e1053e4bff820359ca9b0ef8
|
|
| MD5 |
10017839ed9121d5699bd71f8d9d37d4
|
|
| BLAKE2b-256 |
b4d6d92d442ac9ec8d7333b22d173159dae6ff136302fd6854f293d765ec190e
|
File details
Details for the file PProgress-0.0.1-py3-none-any.whl.
File metadata
- Download URL: PProgress-0.0.1-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/2.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed4de207d68d1b4208cb4d2b900fbfb216d0eb36bf533db90f2fa76c05441856
|
|
| MD5 |
0003d15d5ff7849664e1f5940412eeff
|
|
| BLAKE2b-256 |
5110c4d4128576fb6c059b373996d2ba6deb8a3925ddbec0f939483647f5af09
|