Skip to main content

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.

Release files for loading-display 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for loading-display 0.2.0
File Size Uploaded
loading_display-0.2.0.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for loading-display 0.2.0
File Interpreter ABI Platform
loading_display-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / loading_display-0.2.0.tar.gz

Download URL loading_display-0.2.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ea5bb1b597bbc4560c1450d820166aea43dcd066d4027c3b2bc6a29be9ab3fe7
BLAKE2b-256 checksum
How to use checksums
c52551e5a793c88ec0950420663781b0d2e05e336b823d3e2f2d461a82d0063c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / loading_display-0.2.0-py3-none-any.whl

Download URL loading_display-0.2.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a020d40551b99eca8f8e7edc152a3deaa85d9b0065f2200030d9484346a5e6d
BLAKE2b-256 checksum
How to use checksums
1d35702e0b53aec82291d75f609532036434ddaa5db56f33408392b37987da96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page