Skip to main content

A tqdm wrapper for multi-line logging.

Project description

tqdmX

This is a tqdm wrapper for multi-line logging.

Demo

Requirements

  • tqdm
  • addict

You can install the requirements using the following script.

pip install -r requirements.txt

Usage

The following is a simple example.

import time
from tqdmX import TqdmWrapper, format_str
tw = TqdmWrapper(range(10))
for i in tw:
  tw.add(f'Iter {i}')
  tw.add('line1')
  tw.add(format_str('blue','line2'))
  tw.update()
  time.sleep(0.5)

For the demo gif shown above, you may refer to 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

tqdmX-0.0.2.tar.gz (2.9 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