Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
ProgreessBar for Python, based on Arch progressbar, with "ILoveCandy"
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore .gitignore
ChangeLog.yaml Version 0.3.1
LICENSE.txt First commit
MANIFEST setup.py changes
README.md Update README.md
example_download.py Minor fix
example_simple.py New examples
pacmanprogressbar.py Version 0.3.1
setup.py Readme updated

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.