Skip to main content

Simple text progress bar library

Project description

A (WIP) python progress bar

Travis CI build status

Installing

pip install minibar

Usage

import minibar
import time

for i in minibar.bar(range(100)):
    time.sleep(0.05)

Output:

Progress bar

Minibar can be customized

template = "{i}/{total} {bar} {elapsed}s {eta}"

for i in minibar(range(100), template=template):
    time.sleep(0.05)

The following widgets are avaliable:

  • {i} The numeric progress counter.

  • {total} The total value.

  • {bar} The progress bar.

  • {elapsed} The time ellapsed in seconds.

  • {eta} The estimated time to finish.

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

minibar-0.3.1.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file minibar-0.3.1.tar.gz.

File metadata

  • Download URL: minibar-0.3.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for minibar-0.3.1.tar.gz
Algorithm Hash digest
SHA256 dba186564625b25e6ae97ae30ba47f8fb1598f0fd194aee9918acbd6b46d951f
MD5 03037a828602ba77fe914291e7d3489c
BLAKE2b-256 ed571320878fb70d074e3c51f59cba654bfabd1854e9218c856eb1d0bde468be

See more details on using hashes here.

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