Skip to main content

Vibe Loader

New!

Rust

Have the visuals of Loading(), with the speed of TQDM

Vibe Demo

Vibe Loader is a lightweight alternative to TQDM, written in less than 250 lines of code. It uses an event-based function called update to refresh values dynamically.

Features

  • 100+ Styles: Passed directly into the Loading object.
  • Zero Dependencies: No foreign packages required.
  • MARGIN Support: Optimized for small terminals to prevent layout breaking.
  • Dynamic Resizing: Automatically adjusts to terminal width.
  • Stream Support: Compatible with request streams.
  • Context Manager: Supports with statements for easy lifecycle management.
  • Developer Friendly: All variables are public and changeable, plus support for custom styles.

Performance

The new minload is faster than tqdm.

Library Total Time Iterations/sec Speed Factor
MinLoad 0.0989s 5,063,945 it/s 1.45x Faster
tqdm 0.1436s 4,320,390 it/s 1.00x (Baseline)
RustBar (Rust) 0.1480s 3,490,749 it/s 0.97x
Loading (Legacy) 0.5197s 962,297 it/s 0.28x

MinLoad Speed

Test Conditions: Measured over 500,000 iterations on a standard Python loop.

MinLoad() is better than Loading() in speed, Loading() is better for aesthetics. RustBar() (Rust) gives you the best of both worlds: high performance with rich visuals.


Installation from PyPi.

pip install vibe-loadbar

Installation from Github. (For latest updates.)

Note: Cutting Edge updates might have errors or be unstable.

pip install git+https://github.com/domm-hub/vibe-loadbar

Example Usage for Loading:

from vibe_load import Loading, SmoothStyle
from vibe_load.themes import garden
import time

for i in Loading(range(1000), style=SmoothStyle(), theme=garden):
    time.sleep(0.01)

with Loading(range(1000), style=SmoothStyle()) as pbar:
    for i in pbar:
        time.sleep(0.01)
    
#These loops should take ~10 seconds

Example Usage for MinLoad:

from vibe_load import MinLoad
import time

for i in MinLoad(range(1000)):
    time.sleep(0.01)

with MinLoad(range(1000)) as pbar:
    for i in pbar:
        time.sleep(0.01)

Check out the repository here: vibe-loadbar on GitHub

Built with ❤️ by Adam Hany. Part of the Vibe Suite.

Metadata

Release files for vibe-loadbar 1.0.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 vibe-loadbar 1.0.0
File Size Uploaded
vibe_loadbar-1.0.0.tar.gz 186.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vibe-loadbar 1.0.0
File Interpreter ABI Platform
vibe_loadbar-1.0.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details

Total release size: 1.1 MB

Release files / vibe_loadbar-1.0.0.tar.gz

Download URL vibe_loadbar-1.0.0.tar.gz
Size 186.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ade8bce532fa44f4360b7a169e6a8645a6697b68ccce7b542e49c1d833aa4f2c
BLAKE2b-256 checksum
How to use checksums
02bd3206862066f04a00a2ec190462ff1118cc62388fdf1b546f5fd815f895d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.12.6

Release files / vibe_loadbar-1.0.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL vibe_loadbar-1.0.0-cp312-cp312-macosx_11_0_arm64.whl
Size 894.6 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7bd0d937cb04c76637d1c853ab9ba9375fba4f418f146076a2297cbbf568e192
BLAKE2b-256 checksum
How to use checksums
3359790e5144f762abc439679f5ef37242e4814cb85b2672c1174262f9715327
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.12.6

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.4.1

3 release files

0.3.5

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.1

2 release files

0.1.0

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