Skip to main content

An easy-to-use progress bar tool for python.

Project description

Pyprobar

image image image image

An easy-to-use progress bar tool for python.

Installation

pip install pyprobar

Synopsis

28.71% |████████>>>>>>>>>>>>>>>>>  | 0:00:22|0:00:31 ETC: 02-20 18:08:15

Usage

Use probar or bar for different situations:

from pyprobar import bar, probar
import time

for idx, x in probar(range(1234)):
    time.sleep(0.02)
>>> 18.31%|█████>>>>>                  | 0:00:20|0:00:25  ETC: 02-20 19:00:39
import numpy as np
N = 1024
a = np.linspace(2, 5, N)
for idx, i in enumerate(a):
    time.sleep(0.01)
    bar(idx, N)
>>> 100.00% |█████████████████████████████| 0:00:00|0:00:10  ETC: 02-19 20:33:34 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyprobar, version 0.1.0.6
Filename, size File type Python version Upload date Hashes
Filename, size pyprobar-0.1.0.6-py3-none-any.whl (5.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyprobar-0.1.0.6.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page