Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmitriiweb/clpb
Command line progress bar for Python 3
https://github.com/dmitriiweb/clpb
command-line-tool progress-bar progressbar python python-3 python-library
Last synced: about 2 months ago
JSON representation
Command line progress bar for Python 3
- Host: GitHub
- URL: https://github.com/dmitriiweb/clpb
- Owner: dmitriiweb
- License: mit
- Created: 2018-08-14T12:51:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-14T14:01:44.000Z (over 6 years ago)
- Last Synced: 2024-11-17T01:36:16.693Z (about 2 months ago)
- Topics: command-line-tool, progress-bar, progressbar, python, python-3, python-library
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CLPB
Command Line Progress Bar for Python 3.x## Installation
```
pip install clpb
```## Examples
```
>>> from clpb import ProgressBar
>>> items_length = 69
>>> pb = ProgressBar(0, items_length)
>>> pb.initial_print()
... pb.current_print(i+1)
Progress |████████████████████████████████████████| 100.0% Complete
```
```
>>> from clpb import ProgressBar
>>> items_length = 69
>>> pb = ProgressBar(0, items_length, fill='#')
>>> pb.initial_print()
... pb.current_print(i+1)
Progress |########################################| 100.0% Complete
```