Skip to content

eddebc/busy-bar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Busy Bar

Description

Easily wrap a code block with a busy indicator in the terminal.
This module provides a context manager and a decorator that will print a small rotating cursor in the terminal with a chosen message while executing.

Usage:

from time import sleep
from busy_bar import Progress, progress
@progress()
def long_work():
    sleep(3)

def main():
    with Progress("Busy..."):
        sleep(3)

Example:

Alt Text

About

A terminal busy bar that works in the background for Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages