Skip to content
This repository

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…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 ChangeLog.yaml Version 0.3.1 October 25, 2012
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 MANIFEST setup.py changes October 20, 2012
Octocat-spinner-32 README.md Update README.md December 18, 2013
Octocat-spinner-32 example_download.py
Octocat-spinner-32 example_simple.py
Octocat-spinner-32 pacmanprogressbar.py
Octocat-spinner-32 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.