Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

ProgreessBar for Python, based on Arch progressbar, with ILoveCandy option enabled

Project Description
Pacman-progressbar
==================

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

#### Instalation
```bash
pip install pacmanprogressbar
```


#### Usage


Import the package and create the bar
```python
from pacmanprogressbar import Pacman
p = Pacman()
```

#### Parameters

| Parameter | Default | Description |
| --- | --- | --- |
| start | 0 | Initial value |
| end | 100 | Defines the bar's dimension in an amount of items or "steps" |
| width | `console size` | Size (in chars) of the bar, by default is the console size |
| step | 0 | Current position in the progressbar |
| text | `None` | Write some text at the beginning of the line |
| encode | UTF-8 | Encoding |


#### Methods

``` python
p.update([value])
```

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

```python
p.progress([value]):
```

Set an specified progress, the parameters is mandatory:


#### Output
----------
![Alt text](http://i.imgur.com/7oh3T6x.gif)
Release History

Release History

This version
History Node

1.0

History Node

0.3.2

History Node

0.3.1

History Node

0.3

History Node

0.2.1

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting