Skip to main content

This package adds simple windowed progressbar.

Project description

ProgressBarPy

This is a lightweight Python package that provides a simple, customizable progress bar displayed in a windowed interface using Tkinter. It allows developers to easily integrate a visual progress indicator into their applications without needing to manage complex GUI elements. With straightforward methods for updating progress and setting labels, ProgressBarPy is an ideal solution for adding a user-friendly progress bar to your Python projects.

How to use it?

Before you start you've to import package:

pip install ProgressBarPy

Now it's ready to work. Let's check an example of using this package:

from ProgressBarPy.progressbar import ProgressBar

import time

max_progress = 100
progressbar = ProgressBar(max_progress=max_progress, title='Progress bar example', message='Processing...')
progressbar.display()
for _ in range(max_progress+1):
    time.sleep(0.05)
    progressbar.update()

progressbar.destroy()

ProgressBar has three arguments max_progress(necessary argument), title('Progress Bar' by default) and message(not necessary argument).

Class object of ProgressBar has three methods display()(displays progress bar), update(value)(updates progress bar by value(value is 1 by default)) and destroy()(destroys progress bar window).

That's everything you need to know about ProgressBarPy.

Thanks for attention!

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

progressbarpy-0.0.6.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

ProgressBarPy-0.0.6-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file progressbarpy-0.0.6.tar.gz.

File metadata

  • Download URL: progressbarpy-0.0.6.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for progressbarpy-0.0.6.tar.gz
Algorithm Hash digest
SHA256 2930335784c0d1fb7838f7bd0f20195171886442d1c89a6a138a730bb41bada0
MD5 369f197a64edba81671980bf00e2b01d
BLAKE2b-256 4f6701a9ea9df323db4dfa57775732740b7c3423dbd90d32d23d06361b146921

See more details on using hashes here.

File details

Details for the file ProgressBarPy-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: ProgressBarPy-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for ProgressBarPy-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a1f292c1fbc985913f1009989376f0c2b621cc33bcf2174630af1de6081acc2a
MD5 dc1c5b5158eb78ef5f2b71e4baf68abd
BLAKE2b-256 b894177b71ac6c1713cd0637ed8c3899d3300121e73fea4541021ee1d9c0e389

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