Python package for printing progress in text.
Project description
progress-text
Python package for printing progress in text.
Important Note
The every_percent in this tool can be achieved by setting the parameter mininterval to be equal to num_max_iters * every_percent / 100. The reason why I created this tool was that I did not read the documents of tqdm carefully (I have read it now on 2020-12-18) and I wanted a feature like every_percent.
Now that this tool seems to be not so useful, however, I will not delete this project. Instead, I may keep improving this tool and regard it as a practice.
Why not tqdm
tqdm is awesome, but I just want to print the progress to a log file by nohup.
Install
pip3 install --upgrade progress-text
Or clone the project, go into the project directory, and execute
python setup.py install
or
pip install ./
Or simply copy the source code.
Usage
See example.py.
Performance
The overhead is about 3 times as tqdm. See ./tests/test_overhead.
To do
None
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file progress-text-0.0.4.tar.gz.
File metadata
- Download URL: progress-text-0.0.4.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
603a945b1a96724392b5af530885e79d984621dba7f5c2aa230038ebdd9df912
|
|
| MD5 |
d310eebdb3774aee2aa30e8168246356
|
|
| BLAKE2b-256 |
f9263b7bd9357d06f67cf40dc700df74584c6868b7f9b399827c45723478ab6d
|
File details
Details for the file progress_text-0.0.4-py3-none-any.whl.
File metadata
- Download URL: progress_text-0.0.4-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7405dba180afcebab234a57ca6a3a2a9fccf0b0375229eb46e0a43319cb9f952
|
|
| MD5 |
fe359059098874ebbd86a50ac3b939d2
|
|
| BLAKE2b-256 |
6fe84a4558b0d0a4d41ada77eb69083566955c64ae87d9762a005fa8360d4ee9
|