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.2.tar.gz
(4.1 kB
view details)
File details
Details for the file qqdm-0.0.2.tar.gz.
File metadata
- Download URL: qqdm-0.0.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6674d70df5d5a5f6b0613552f3923c8d5c3850c82eb98e4a36520764bf2ccdd1
|
|
| MD5 |
2e995d66c4abeb15aa8241c6d2a2f494
|
|
| BLAKE2b-256 |
c77ddfbc649408349d917635185c8d97704fb729310e1f96f6062c2d3b01a6c4
|