Skip to main content

A tqdm wrapper for multi-line logging.

Project description

tqdmX

This is a tqdm wrapper for multi-line logging.

Demo

Installation

pip install tqdmX

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

tqdmX-0.0.4.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file tqdmX-0.0.4.tar.gz.

File metadata

  • Download URL: tqdmX-0.0.4.tar.gz
  • Upload date:
  • Size: 2.8 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 tqdmX-0.0.4.tar.gz
Algorithm Hash digest
SHA256 322759d4e1eef5b343f6e83034c8f5fe9129d474e189d51ab52df10845bafddb
MD5 e5b2fe37a8cc89138f8fc237711e47d6
BLAKE2b-256 9e79cda49b91993c0510176e39616901117c6dabad07c4abba23ef68b17bca8c

See more details on using hashes here.

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