Skip to main content

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

progress-text-0.0.5.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

progress_text-0.0.5-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file progress-text-0.0.5.tar.gz.

File metadata

  • Download URL: progress-text-0.0.5.tar.gz
  • Upload date:
  • Size: 2.6 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

Hashes for progress-text-0.0.5.tar.gz
Algorithm Hash digest
SHA256 be06a81b5b5e07c1cde912a5a4aa357cc76b8cffd6b3643696b462d570cbae33
MD5 0b60da376df594f73bf5c5e666a24f2d
BLAKE2b-256 a5a02bfeecfc77e328c39a0e369ef1c522db8f4245a1b23d3a7bbeaf9a105801

See more details on using hashes here.

File details

Details for the file progress_text-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: progress_text-0.0.5-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

Hashes for progress_text-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bec2d5b3c6955a68b545d62660b02842241c1ef5b6ef2198d201a017f9884610
MD5 7bf8484aa4354a0954348c99464b180a
BLAKE2b-256 5bd8d9f8e9404d65c395bbea534fcf8bb23b30e5c324f0e50c4fef9910d03fc2

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