Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
ProgreessBar for Python, based on Arch progressbar, with "ILoveCandy"
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
ChangeLog.yaml
LICENSE.txt
MANIFEST
README.md
example_download.py
example_simple.py
pacmanprogressbar.py
setup.py

README.md

Pacman-progressbar

A ProgressBar for Python, based on Arch progressbar, with "ILoveCandy" option enabled.

Usage

Import the package and create the bar

from pacmanprogressbar import Pacman
 p = Pacman()

Parameters

start: It should be 0.
end: Defines the bar's dimension in an amount of items or "steps", by default is 100.
width: Size (in chars) of the bar, by default is the console size. 
step: Current position in the progrressbar, Default 0.
text: Write some text at the beginning of the line.

Methods

p.update([value])

Update the progress, incresing the size by 1, or by the "value" parameter

p.progress(value):

Set an specified progress, the parameters is mandatory:

Output

Alt text

Something went wrong with that request. Please try again.