Skip to content

A lightweight, fast and pretty progress bar for Python

License

Notifications You must be signed in to change notification settings

KimythAnly/qqdm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A lightweight, fast and pretty progress bar for Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages