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, ".")
print(bar.format_status())

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

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, " ")
print("\n".join(st.format_table()))

Project details


Release history Release notifications

This version
History Node

0.1.22

History Node

0.1.21

History Node

0.1.20

History Node

0.1.14

History Node

0.1.13

History Node

0.1.12

History Node

0.1.11

History Node

0.1.10

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
statusbar-0.1.22-py3-none-any.whl (8.3 kB) Copy SHA256 hash SHA256 Wheel py3 Jun 8, 2017
statusbar-0.1.22.tar.gz (6.3 kB) Copy SHA256 hash SHA256 Source None Jun 8, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page