Skip to main content

Simple progress bar for terminal

Project description

Ez-Bar

Very simple customizable progress bar.

Installation

pip install py-ezbar

Usage and Examples

import, configure and use it's easy

from py_ezbar import ProgressBar, BarStyles, BarColors
    
progress_bar = ProgressBar(color=BarColors.YELLOW, style=BarStyles.DEFAULT, show_fractions=True)
t = range(327)
x = [fake.bs() for _ in range(5)]
y = {
    "1": "a",
    "2": "b",
    "3": "c",
    "4": "d",
    "5": "e",
}

for i in t:
    progress_bar(index=i, iterable=t, current=i)
    sleep(0.01)

for i, v in enumerate(x):
    progress_bar(index=i, iterable=x, current=v)
    sleep(0.01)

for i, (k, v) in enumerate(y.items()):
    progress_bar(index=i, iterable=x, current=v)
    sleep(0.01)

example

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

py_ezbar-0.1.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.

py_ezbar-0.1.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file py_ezbar-0.1.2.tar.gz.

File metadata

  • Download URL: py_ezbar-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for py_ezbar-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3c97a990db7fa820492f3ebf949ef84cc945e1e3c1a12d65073f6028b124c970
MD5 5ff3bf56f4ebb490ca77c55c7d4000fa
BLAKE2b-256 2a1a02fea9ea57cc6fb7d23b36f19ef80329fd9a00f8a75b29de02bf680e68f5

See more details on using hashes here.

File details

Details for the file py_ezbar-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: py_ezbar-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for py_ezbar-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dcd9906df5175f9226297218deb3cc4f8d600700588a1b45df9d7f63529fc8df
MD5 c0e10b66b8fd6c171fb6feae0f816e46
BLAKE2b-256 67530c6d99c820cc4c93312cd44b238edda40c8aa73a54c31c4b2f843ae07b80

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