Skip to main content

The ultimate taskbar progress python package!

Project description

PyTaskbar

The ultimate taskbar progress python package!

visitor badge

Docs Here!

Works for both terminals and GUIs!

Requirements:

    comtypes
    PyGetWindow

Installation

click here


Example:

import time
import PyTaskbar

prog = PyTaskbar.Progress()
prog.init()

prog.setState('loading')
time.sleep(5)

prog.setState('normal')

for i in range(100):
    prog.setProgress(i)
    time.sleep(0.05)
prog.setProgress(0)

prog.setState('warning')

for i in range(100):
    prog.setProgress(i)
    time.sleep(0.05)

prog.setProgress(0)
prog.setState('error')

for i in range(100):
    prog.setProgress(i)
    time.sleep(0.05)

prog.setProgress(0)

prog.setState('done')
while True:
    time.sleep(1)
    print('close me!')

Happy Coding!

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

PyTaskbarProgress-0.0.8.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

PyTaskbarProgress-0.0.8-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

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