Skip to main content

A multi-line logging toolkit.

Project description

qqdm

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.3.tar.gz (4.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page