Skip to main content

Customizable progress bars with time and event triggers

Project description

dikshantprogress

PyPI Python

Customizable progress bars with time-based and event-triggered controls.

Features

  • Time-based progress bars
  • Event-triggered progress
  • Thread-safe operations
  • Customizable display

Installation

pip install dikshantprogress

Basic Usage

from dikshantprogress import TimedProgressBar

# Run for 5 seconds
bar = TimedProgressBar(total=100)
bar.run_for(5)

Advanced Usage

from dikshantprogress import TriggeredProgressBar

# Event-based progress
def start_condition():
    return server_online()

def stop_condition():
    return download_complete()

bar = TriggeredProgressBar(start_condition, stop_condition)
bar.monitor()

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

dikshantprogress-1.0.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

dikshantprogress-1.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file dikshantprogress-1.0.1.tar.gz.

File metadata

  • Download URL: dikshantprogress-1.0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for dikshantprogress-1.0.1.tar.gz
Algorithm Hash digest
SHA256 89494fc4429fbd720163fbe1912c98c7ad7a04c682a91b1c6eee61e50d432526
MD5 41de5ecb6e544fb7647087ebc64aa1f1
BLAKE2b-256 c881624eb2d0bfee4176be54ed0a17af4f056975aac3ed3c946e5ec3fb538d91

See more details on using hashes here.

File details

Details for the file dikshantprogress-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dikshantprogress-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 836284ca4e76877137e1687a02c8408dc330ff263d83607e572e6acc49aec845
MD5 296bd09eccbcede95248b4e06903eead
BLAKE2b-256 1f9f55302c0b6f1425ab0a7d94e2af3ca1a95074caf74ca830544f0c1a61db07

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