New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fake-progress-bars

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fake-progress-bars

A package for creating customizable, fake progress bars.

  • 1.0.0
  • PyPI
  • Socket score

Maintainers
1

Fake Progress Bars

I don't know why you'd want to, but now you can make fake progress bars.

from fake_progress_bars import progress_bar

# Creates a 10 second default progress bar.
progress_bar(10)

# Creates a 10 second customized progress bar.
progress_bar(time=10, size=200, step=2, label='Example', variability=0.1,
    progress='◼️', remaining='·', outside='⏺', percentage=False)

All configuration options:

  • time: The amount of time the progress bar takes to complete.
  • size: The size of the progress bar in characters.
  • step: The amount the progress increases every step.
  • label: The label before the progress bar, succeeded by ": ".
  • variability: The amount of change allowed in the time of each step. This property is limited to the time times the step divided by the size to keep the time consistent.
  • progress: The character used to represent the current progress of the progress bar.
  • remaining: The character used for the remaining percentage of the progress bar.
  • outside: The character used as the border on either side of the progress bar.
  • percentage: Whether the percentage competed should be shown on the right side of the progress bar.

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