Skip to main content

A simple console-based loading bar for Python.

Project description

UltraEZLoadingBar

UltraEZLoadingBar is a simple Python package that displays a loading bar in the console.

Installation

Install the package via pip: pip install UltraEZLoadingBar

loading_bar Function

loading_bar(steps, bar_length, delay_per_step, message, color)

Args: steps (int): Total number of steps (e.g., iterations). bar_length (int): The length of the loading bar in characters. delay_per_step (float): The delay between each step (in seconds). message (str): The prefix message before the loading bar. color (str): Optional. Adds color to the loading bar using ANSI escape codes. Examples: "r", "g", "b", etc.

Usage:
    - Create A Loading Bar With 100 Steps And 100 Characters And 0.1 Second Delay And A Message Of "Loading... " And A Red Text Color
        Command: loading_bar(100, 100, 0.1, "Loading... ", "r")
    - Create A Loading Bar With 100 Steps And 100 Characters And 0.1 Second Delay And A Message Of "Processing... " And The Deafult Color
        Command: loading_bar(100, 100, 0.1, "Processing... ") (If You Want A Deafult Color Dont Add The Color Varible, If You Want No Text Put "" For The Varible)

new_line Function

new_line()

Args: Creates a new line

Usage
    - Create a new line
        Command: new_line()

colored_text Function

colored_text(text, color) Args: Prints the given text in the specified color.

text (str): The text to be printed.
color (str): The color of the text. Available colors: red, green, blue, etc.

Usage:
    - Create Text With "Hello!" With a blue color
        Command: colored_text 

cls Function

cls()

Usage: 
    - Clear Screen:
        cls()

Devmode Function

??????????????????????????????????????

Unknown

Changelog

Version 0.0.6

  • cls Function
  • devmode Function

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

ultraezloadingbar-0.0.0.5.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

UltraEZLoadingBar-0.0.0.5-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file ultraezloadingbar-0.0.0.5.tar.gz.

File metadata

  • Download URL: ultraezloadingbar-0.0.0.5.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for ultraezloadingbar-0.0.0.5.tar.gz
Algorithm Hash digest
SHA256 4e357925238296d355f6fe470c01206d4ee6a9c5bbcbf9769bb763ff43bd8dc6
MD5 b8dbda16cc5c55b21e9920ace7712e63
BLAKE2b-256 2195ab4765365fef58f6741acfc8fb9fc251a9bad867eff201b8c944c20068ae

See more details on using hashes here.

File details

Details for the file UltraEZLoadingBar-0.0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for UltraEZLoadingBar-0.0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4d3af9fdc8c42c0351fba58f072ab31d2d66f6acd0e1ba11973472bccaa06ee7
MD5 9671bd3191db2325165f32e74efa65fa
BLAKE2b-256 ef05942935355fda84b5408edfcb788ff091bbf928b1f8cd2cdd8db49151d10f

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