hive-progress-bar
This is a simple package to show progress when doing some computations on a collection. It shows the number of items iterated and a time estimate for the remaining items.
It over-writes the same line that progress bar is on as the iteration continues.
Installation
pip install hive-progress-bar
Usage
import time
from hive_progress_bar import ProgressBar
items = range(100)
pb = ProgressBar("Doing stuff on collection", len(items))
for _ in items:
time.sleep(1)
pb.next()
Example Output During Processing
Doing stuff on collection: [#### ] 0h 1m 21s remaining | 12 / 100 Processed
After Finishing
Doing stuff on collection: [###################################] 0h 0m 0s remaining | 100 / 100 Processed
Time Taken: 0h 1m 40s
Release files for hive-progress-bar 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hive-progress-bar-0.0.4.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hive_progress_bar-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.8 kB
Release files / hive-progress-bar-0.0.4.tar.gz
| Download URL | hive-progress-bar-0.0.4.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9c25601fc0a7b5d968d685a64e7a5be2abf3ec5efb92e31ab98398139fdd6f7
|
|
BLAKE2b-256 checksum How to use checksums |
b96f0ad095b4038d293b3f519decc66632b6cb66242195bb24ef0712369952e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9
|
Release files / hive_progress_bar-0.0.4-py3-none-any.whl
| Download URL | hive_progress_bar-0.0.4-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f23296b9333e3db1b9de9d32ef2e6754b39cbfba9f214257debd7cd808333699
|
|
BLAKE2b-256 checksum How to use checksums |
bb81379e326fe47268d515d48faf121fb47498c4ed4f837e75abb568b917ca50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9
|