A lightweight, customizable progress bar for Python.
Project description
Python's Progress Bar for console
A lightweight, customizable progress bar for Python3.6+
Features
- Easy to use and integrate
- Highly customizable (colors, length, style)
- Lightweight and dependency-free
- Works seamlessly with loops and background tasks
Installation
Install the library via pip: pip install python-progress-bar
Usage
Here's a quick example to get started: from progress_bar import ProgressBar
Initialize the progress bar
from python_progress_bar import ProgressBar
pb = ProgressBar('Progress', bar_char='█')
for i in range(100):
pb.show(35.0)
Customization
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)
Contributing
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.
Stay Connected
Star this repo ⭐ if you find it useful.
Fork it 🍴 to contribute.
Share your feedback or suggestions by opening an issue.
Project details
Release history Release notifications | RSS feed
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
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
File details
Details for the file console-python-progress-bar-0.1.0.tar.gz.
File metadata
- Download URL: console-python-progress-bar-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b661c3c9fd50fc4497fa9e19d7b506186d6c8b04186ce8496d58bd9833384b69
|
|
| MD5 |
248a49c445f3473d05308b047d382c21
|
|
| BLAKE2b-256 |
8ed3b5ed7b706f9f16dfb3529cf16f2c89d89fa15d53314323ef803894edf414
|
File details
Details for the file console_python_progress_bar-0.1.0-py3-none-any.whl.
File metadata
- Download URL: console_python_progress_bar-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e21d4f1c9a5590d03f3aacfe65c1a5e7f8f668fc5959d323c84417c41141409
|
|
| MD5 |
1e4d42b421e302c82fda023979b07712
|
|
| BLAKE2b-256 |
772a305b33446a78c822ebc6352594e421c427e152e5ac2bf205339d3a2de054
|