Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)