-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e94b528
commit 5a56f1a
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,24 @@ | ||
# LoadBar | ||
Python Librairy for a loading bar in the console | ||
|
||
This is a very simple python library to create a loading bar on the shell | ||
|
||
## Install it | ||
|
||
``` | ||
pip install load-bar | ||
``` | ||
|
||
## Use it | ||
|
||
``` python | ||
import time | ||
from loadbar import LoadBar | ||
bar = LoadBar(max=100) | ||
bar.start() | ||
for i in range(100): | ||
time.sleep(0.05) | ||
bar.update(step=i) | ||
bar.end() | ||
``` | ||
|
||
See the doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# LoadBar | ||
|
||
## Install it | ||
|
||
## Use it | ||
|
||
## Options | ||
|
||
## ColorBar | ||
|
||
## RainbowBar |