A lightweight, customizable progress bar for Python3.6+
- Easy to use and integrate
- Highly customizable (colors, length, style)
- Lightweight and dependency-free
- Works seamlessly with loops and background tasks
Install the library via pip:
pip install console-python-progress-bar
Here's a quick example to get started: from progress_bar import ProgressBar
from python_progress_bar import ProgressBar
pb = ProgressBar('Progress', bar_char='█')
for i in range(100):
pb.show(35.0)
The progress bar can be customized to fit your needs:
from python_progress_bar import ProgressBar, FontScheme
fnts = FontScheme(Title=Font.LightPurple, Bar=Font.Yellow, Percentage=Font.LightGreen)
pb = ProgressBar('#4', bar_char='★', font_scheme=fnts)
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch (git checkout -b feature-branch).
- Commit your changes (git commit -m 'Add new feature').
- Push to the branch (git push origin feature-branch).
- Open a pull request.
Star this repo ⭐ if you find it useful.
Fork it 🍴 to contribute.
Share your feedback or suggestions by opening an issue.