Skip to main content

Simple Loading/Progress Bar for python

Project description

Python Simple Loading Bar

This is very simple and customizable loading/progress bar.

Usage:

from simplebar import loading



    loading(LOADING_BAR_RANGE=50, LOADING_MAX_VAL=100, LOADING_TIME=0.1, LOOP_RANGE=10, 

            fg_text_color="green", bg_text_color="black", text_style="bold",

            fg_value_color="white", bg_value_color="black", value_style="normal",

            symbol_load='#', symbol_bg='.')

Help:


LOADING_BAR_RANGE                   # Change length of Loading bar.

LOADING_MAX_VAL                     # Values upto which you want loading bar.

LOADING_TIME                        # Stepwise wait time for loading bar (seconds).

LOOP_RANGE                          # Loop size where you want to use loading e-g for i in range(20), LOOP_RANGE=20.

loop_value                          # iteration value e-g i, for i in range(20).



fg_text_color                       # Symbols text color in the bar.

bg_text_color                       # Symbols background color in the bar.

text_style                          # Style of symbol BOLD,NORMAL.



fg_value_color                      # Value text color at end of bar.

bg_value_color                      # Value background color at end of bar.

value_style                         # Style of value at end of bar BOLD,NORMAL.



symbol_load                         # Symbol to use in loading bar.

symbol_bg                           # Background symbol to use in loading bar.

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

simple-bar-0.0.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

simple_bar-0.0.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file simple-bar-0.0.2.tar.gz.

File metadata

  • Download URL: simple-bar-0.0.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.1

File hashes

Hashes for simple-bar-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8c2510d8350d7dd7ec5ba8b4d3bac45c3b97752ab21451a246c725c3c5e377d0
MD5 89cdd68422c9a44eb9cced2ca694d4e5
BLAKE2b-256 9575a6676d0f9cb3cead92619ba3be310da0b829a99ec693be87463c1e3fbb6a

See more details on using hashes here.

File details

Details for the file simple_bar-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: simple_bar-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.1

File hashes

Hashes for simple_bar-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a897a142e9ed4a665524b7d26af15edfe6f087e4a7f5cdb79b5f5aabe46de926
MD5 1068345bc8c3932cbb0c65833a22b579
BLAKE2b-256 c4567cdb115e1e349626dc65e791704896b37fd146c295ccaee921e4fa120717

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