Skip to main content

show progress on windows terminal taskbar icon

Project description

wtprogress

A python library for showing progress in windows terminal.

When you are running a long-running task in python in background, such as training a neural network, you may switch to your terminal frequently to check the progress. With this library, your python script can show progress in your taskbar, and you can easily see it without switching to your terminal.

Note: this library only supports Windows Terminal. Conhost doesn't have this feature.

Example

import wtprogress,time
def main():
    for i in range(1,101):
            print("\rProgress: {}%".format(i),end="",flush=True)
            wtprogress.show(i)
            time.sleep(0.1)
    print("\nTask finished")
    wtprogress.close()
main()

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

wtprogress-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

wtprogress-0.0.1-py2.py3-none-any.whl (2.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: wtprogress-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.10

File hashes

Hashes for wtprogress-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c817dcb2ea71ba3321d9b64b046ae0331ab4a72b5ff276718a4b94b8726087db
MD5 08e8813067bb17428691303f8744c27a
BLAKE2b-256 72ce1e407a92df690268e42417e1825bf525ea7c90b0ff2b65f5d861b72c6fa9

See more details on using hashes here.

File details

Details for the file wtprogress-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: wtprogress-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.10

File hashes

Hashes for wtprogress-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 449997042f0d6288c4da4fa53d81d8434ffebd9238408e3f1922fc8cb2d1b0a3
MD5 eaa33d37b4c51806c2d5fe45e16ee3c3
BLAKE2b-256 1af60551ae2c45bb73ac8cb0e2bd2469ca627ec644e91c73c2f1377239825040

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