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 details)

Uploaded Source

File details

Details for the file qqdm-0.0.3.tar.gz.

File metadata

  • Download URL: qqdm-0.0.3.tar.gz
  • Upload date:
  • Size: 4.1 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

Hashes for qqdm-0.0.3.tar.gz
Algorithm Hash digest
SHA256 704266699d486b649fcdac09dbb1bb0fa1b6d0338635af10fa2eb8322dd41fc7
MD5 ad49f9d7d442c6fe2934125c691aab2c
BLAKE2b-256 f07a97fdc34c3d460d256d0e80e5bd75a146faa57048667c016e7e109b2ed155

See more details on using hashes here.

Supported by

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