Metadata-Version: 2.1
Name: nobar
Version: 1.0.2.17
Summary: Usefull progress "bar"
Home-page: https://github.com/NoromTin/nobar
Author: NoromTin
Author-email: aninelo@gmail.com
Project-URL: Documentation, https://github.com/NoromTin/nobar/blob/main/README.md
Keywords: progress bar
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.0
Description-Content-Type: text/markdown
License-File: LICENSE

nobar

- Why make a new progress bar?
- To have the right one! Pythonic, plain, which can be used)

Quick start:

pip install nobar

Examples:

```
from nobar import nobar
from time import sleep

# With init. You'll see itetations and time left

nobar('task_1', 50)
for i in range(50):
    sleep(0.8)
    nobar('task_1')
    
>>> task_1   50 / 50   pas 00:00:46   lef 00:00:00   tot 00:00:46   las 0.801   avg 0.922



# Without init. Only Passed 

for i in range(800):
    sleep(0.02)
    nobar('task_2')
    
>>> task_2   800 / ---   pas 00:00:16   lef --:--:--   tot --:--:--   las 0.020   avg 0.020



# Previous data saved

nobar(print_all=True)

>>> task_1   50 / 50   pas 00:00:46   lef 00:00:00   tot 00:00:46   las 0.801   avg 0.922
>>> task_2   800 / ---   pas 00:00:16   lef --:--:--   tot --:--:--   las 0.020   avg 0.020
```

