Simple progress bar for your console apps in python
Project description
Simple Progress Bar
This module will print a progress bar for console apps. It should be used inside a for loop.
Installation
pip install simple-progress-bar
Usage
# import function from module
from simple_progress_bar import print_progressbar
def test_function():
df_test = pd.read_excel('test_file_read.xls')
df_test_size = len(df_dles.index)
# iterate through anything
for index, row in df_test.iterrows():
index_fix = index + 1
result = 'Test'
df_test.loc[index, 'result'] = result
# Printing the progress bar
print_progressbar(index_fix, df_test_size, blank='-', description=f"Testing: Line {index}")
df_test.to_excel('test_file_write.xls')
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
Built Distribution
Close
Hashes for simple_progress_bar-0.0.3.win-amd64.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | c82277c78e97f1e2d611e19ed27512e10b0fc551c2d6566c2a42430c0c4c6ef8 |
|
MD5 | 7a30edbb8c682f70a772ee642909df28 |
|
BLAKE2b-256 | 76737b78921a7370c95f6b2c05eed17aaf2460a8c1167a4545b1f3e9b4109a18 |
Close
Hashes for simple_progress_bar-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6926b6db9238d64f2e6fae087426d6b3a5031f2fc9eb1c17ec2d7f8853a00bd |
|
MD5 | e7411447a05aa8d885078b617758ccdf |
|
BLAKE2b-256 | 416e03b3851e5a1965bbd20d80a596db87dd14d7353e36816bcf77e13a8c6505 |