Skip to main content

Easy, modern, and beginner friendly loading animations.

Project description

NAME loado

DESCRIPTION Easy, modern, and beginner friendly loading animations. ruby COLORS: RED GREEN BLUE RESET

```javascript
TYPES:
    BAR1: █,
    BAR2: ▒,
    BAR3: ▬,
    BAR4: ━,
    BAR5: =,
    BAR6: ○,
    BAR7: ●,

    SPIN1: ['|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\', '|', '/', '-', '\\'],
    SPIN2: ['◜', '◠', '◝', '◞', '◡', '◟', '◜', '◠', '◝', '◞', '◡', '◟', '◜', '◠', '◝', '◞', '◡', '◟', '◜', '◠', '◝', '◞', '◡', '◟', '◜', '◠', '◝', '◞', '◡', '◟', '◜', '◠', '◝', '◞', '◡', '◟'],
    SPIN3: ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏', '⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏', '⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏', '⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏', '⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'],
    SPIN4: ['⣾', '⣽', '⣻', '⢿', '⡿', '⣟', '⣯', '⣷', '⣾', '⣽',
    '⣻', '⢿', '⡿', '⣟', '⣯', '⣷', '⣾', '⣽', '⣻', '⢿', '⡿', '⣟', '⣯',
    '⣷', '⣾', '⣽', '⣻', '⢿', '⡿', '⣟', '⣯', '⣷', '⣾', '⣽', '⣻', '⢿',
    '⡿', '⣟', '⣯', '⣷'],
    SPIN5: ['⠁', '⠂', '⠄', '⡀', '⢀', '⠠', '⠐', '⠈', '⠁', '⠂',
    '⠄', '⡀', '⢀', '⠠', '⠐', '⠈', '⠁', '⠂', '⠄', '⡀', '⢀', '⠠', '⠐',
    '⠈', '⠁', '⠂', '⠄', '⡀', '⢀', '⠠', '⠐', '⠈', '⠁', '⠂', '⠄', '⡀',
    '⢀', '⠠', '⠐', '⠈'],
    SPIN6: ['⣀', '⡀', '⠄', '⡈', '⠐', '⠈', '⠄', '⡀', '⣀', '⡀',
    '⠄', '⡈', '⠐', '⠈', '⠄', '⡀', '⣀', '⡀', '⠄', '⡈', '⠐', '⠈', '⠄',
    '⡀', '⣀', '⡀', '⠄', '⡈', '⠐', '⠈', '⠄', '⡀', '⣀', '⡀', '⠄', '⡈',
    '⠐', '⠈', '⠄', '⡀'],
    SPIN7: ['▔', '▕', '▖', '▗', '▘', '▙', '▚', '▛', '▜', '▝',
    '▞', '▟', '▔', '▕', '▖', '▗', '▘', '▙', '▚', '▛', '▜', '▝', '▞',
    '▟', '▔', '▕', '▖', '▗', '▘', '▙', '▚', '▛', '▜', '▝', '▞', '▟']

    WAVE1: ['▁', '▂', '▃', '▄', '▅', '▆', '▇', '█'],
    WAVE2: ['▏', '▎', '▍', '▌', '▋', '▊', '▉', '█'],
    WAVE3: ['▔', '▕', '▖', '▗', '▘', '▙', '▚', '▛', '▜', '▝',
    '▞', '▟'],
    WAVE4: ['⣀', '⡀', '⠄', '⡈', '⠐', '⠈', '⠄', '⡀'],
    WAVE5: ['⣠', '⣤', '⣶', '⣾', '⣿'],
# Basic example
```python
import loado as ld

# Bar
ld.bar(10, BAR1, 'A bar').run().stop()

# Spin
spinner = ld.spin(10, SPIN1, 'A spin')
spinner.run()
spinner.stop()

# Wave
with ld.wave(10, WAVE1, 'A wave') as wave:
    wave.run()
    wave.stop()
    print('Finished wave!')

# Timed
with ld.timed(10, 'A timed') as timed:
    timed.run()
    timed.stop()
    print('Finished timed!')

You can use the variable way or the with statement way.

DATA all = ['bar', 'spin', 'wave', 'timed'] copyright = 'Copyright (c) 2023 loado' license = 'MIT'

VERSION 5.8.0

AUTHOR loado

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

loado-5.8.1.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

loado-5.8.1-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page