Skip to main content

A multi-line logging toolkit.

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

qqdm-0.0.1.tar.gz (3.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: qqdm-0.0.1.tar.gz
  • Upload date:
  • Size: 3.5 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.1.tar.gz
Algorithm Hash digest
SHA256 6b1e092d022afaa82c9c98cda12dde2e2716e949f542bec25621af5904123bcc
MD5 227ac48a8f7751a63f8251d32d8babec
BLAKE2b-256 2291e12e11f0651dcf8db2789b455d1558234d6feaf9deee513562cca873057a

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