Skip to main content

Simple loading bar and spinner for the terminal.

Project description

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.

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

loading_display-0.2.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

loading_display-0.2.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file loading_display-0.2.0.tar.gz.

File metadata

  • Download URL: loading_display-0.2.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for loading_display-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ea5bb1b597bbc4560c1450d820166aea43dcd066d4027c3b2bc6a29be9ab3fe7
MD5 36366c49dfa6b3a51f94014a793823e1
BLAKE2b-256 c52551e5a793c88ec0950420663781b0d2e05e336b823d3e2f2d461a82d0063c

See more details on using hashes here.

File details

Details for the file loading_display-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for loading_display-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a020d40551b99eca8f8e7edc152a3deaa85d9b0065f2200030d9484346a5e6d
MD5 e268d70af4fc45ceb92eaf31f7be5b7a
BLAKE2b-256 1d35702e0b53aec82291d75f609532036434ddaa5db56f33408392b37987da96

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