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 

Changelog (New!)

  • Changelog
  • New Line Function (Automatically Add A New Line)
  • Colored Text Function (Color Your Text!)

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.4.tar.gz (2.9 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.4-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ultraezloadingbar-0.0.0.4.tar.gz
  • Upload date:
  • Size: 2.9 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.4.tar.gz
Algorithm Hash digest
SHA256 94a02aac8a8e8a5eb19a21875b9e672441fec3599fd36148e91dff2cc059cc2a
MD5 2e78a1d30447232ce7c61974ccf90638
BLAKE2b-256 1a558698e1a56f3664a54c9268a210ca0fd4b93d862158b65e4371be11293753

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for UltraEZLoadingBar-0.0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d58a905e7ce367319707508bb198f52c296f118f88e25c98a2457dfa5f19cb6c
MD5 13032a522ede2ecd33056957a315c9d3
BLAKE2b-256 a3f861599b21e2f1cc2650817549b091483647582b902db6d234471701b55bb1

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