Skip to main content

Module for displaying (text based) status update lines.

Project description

Python package for displaying status information in command line interfaces.

Build status Coverage Codacy code review License Packgage version Package stability Python versions supported Monthly PyPI downloads

This package can be used to show status information through one or more lines of formatted status bars where each status bar consist of three components: a label, a progress bar, and a statistics/summary field.

import statusbar

bar = statusbar.StatusBar("Test status")
bar.add_progress(10, "#")
bar.add_progress(5, ".")

bar = statusbar.StatusBar("Test status")
bar.add_progress(10, " ", color="green")
bar.add_progress(5, " ", color="red")

st = statusbar.StatusTable()
sb = st.add_status_line("Test")
sb.add_progress(1, "#")
sb.add_progress(1, " ")
sb = st.add_status_line("Testing progress")
sb.add_progress(10, "#")
sb.add_progress(5, ".")
sb.add_progress(10, " ")

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for statusbar, version 0.1.22
Filename, size File type Python version Upload date Hashes
Filename, size statusbar-0.1.22-py3-none-any.whl (8.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size statusbar-0.1.22.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page