Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/valentinvignal/loadbar
Python Librairy for a loading bar in the console
https://github.com/valentinvignal/loadbar
load-bar loadbar python-library
Last synced: about 8 hours ago
JSON representation
Python Librairy for a loading bar in the console
- Host: GitHub
- URL: https://github.com/valentinvignal/loadbar
- Owner: ValentinVignal
- License: mit
- Created: 2020-04-27T16:00:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-05T13:52:16.000Z (about 4 years ago)
- Last Synced: 2024-09-21T09:18:59.104Z (about 2 months ago)
- Topics: load-bar, loadbar, python-library
- Language: Python
- Size: 109 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LoadBar
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()
```![image](https://github.com/ValentinVignal/LoadBar/blob/master/images/loadbar.gif)
[See the documentation](https://github.com/ValentinVignal/LoadBar/blob/master/doc/Loadbar.md)