Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

py-ezbar

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

py-ezbar

Simple progress bar for terminal

  • 0.1.2
  • PyPI
  • Socket score

Maintainers
1

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc