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

loading-display

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loading-display

Simple loading bar and spinner for the terminal.

  • 0.2.0
  • PyPI
  • Socket score

Maintainers
1

Loading Display

Downloads

Simple loading bar and spinner for the terminal.

spinner

Prints unicode frames for a spinning animation.

The icons used as frames in the spinner can be changed using the icons parameter:

>>> from loading_display import spinner
>>> s = spinner(icons=['🌑', '🌒', '🌓', '🌔', '🌕', '🌖', '🌗', '🌘'])
>>> while 1:
...     next(s)

Loading bar

Prints a progress bar.

Usage:

from loading_display import loading_bar

while loading:
    loading_bar(current_progress, 
                total=total_size, 
                bar_length=10, 
                show_percentage=True)

Default appearance:

████████████████████ 100.0 %

The appearance can be customized with the icon parameter.

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