Simple string progress bar made for discord bots. Its usable everywhere.
Project description
StringProgressBar
📝 Table of Contents
🧐 About
Simple string progress bar made for discord bots. Its usable everywhere.
Advantages
- Simple
- Lightweight
- Fully customizable
- 2 Different Styles
🏁 Getting Started
Installing
A step by step series of examples that tell you how to get a development env running.
pip install StringProgressBar
Splitbar Usage
from StringProgressBar import progressBar
# Assaign values to total and current values
total = 100
current = 50
# First two arguments are mandatory
bardata = progressBar.splitBar(total, current, [optional parameters])
# Get the progressbar
print(bardata[0])
# Get the percentage
print(bardata[1])
Filledbar Usage
from StringProgressBar import progressBar
# Assaign values to total and current values
total = 100
current = 50
# First two arguments are mandatory
bardata = progressBar.filledBar(total, current, [optional parameters])
# Get the progressbar
print(bardata[0])
# Get the percentage
print(bardata[1])
Optional Parameters
Parameter name | Type | Default | Description |
---|---|---|---|
size | Integer | 40 | Determines the length of the bar |
line | String | ▬ and □ | Determines the Static part of the bar |
slider | String | 🔘 and ■ | Determines the Progressive part of the bar |
⛏️ Built Using
📝 License
This project is MIT licensed.
✍️ Authors
Change Log
1.1.0 (26.09.2021)
- Major update
1.0.0 (12.06.2021)
- First Release
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 StringProgressBar-1.1.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5adc578f646249812ebc3f7dd9377080eae87d244061436f57ae19f5bfd445e4 |
|
MD5 | 8af8826bab2917d72bb451fa404193ed |
|
BLAKE2b-256 | ae5491269714cdbfce6b92b76bb6691bbfa1645734ac492dc25550771571963a |