A very lightweight progress bar.
Project description
qqdm
A lightweight, fast and pretty progress bar for Python
Demo
Installation
pip install qqdm
Usage
The following is a simple example.
import time
import random
from qqdm import qqdm, format_str
tw = qqdm(range(10), desc=format_str('bold', 'Description'))
for i in tw:
loss = random.random()
acc = random.random()
tw.set_infos({
'loss': f'{loss:.4f}',
'acc': f'{acc:.4f}',
})
time.sleep(0.5)
For the demo gif shown above, you may refer to tests/test.py.
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
qqdm-0.0.5.tar.gz
(5.2 kB
view details)
File details
Details for the file qqdm-0.0.5.tar.gz.
File metadata
- Download URL: qqdm-0.0.5.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d213afc5be44070959c4a040c9e041573c07bba3a6c6e2432de0006c45090c3e
|
|
| MD5 |
4d6b15556f9cfd126a40264995344a2d
|
|
| BLAKE2b-256 |
f175b2599e241de14d442263d53735f7a2ff66327690c13c9332d5a705dbbc77
|