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!

Terminal progress bar compatible with multi-threading

Project Description

Terminal progress bar compatible with multi-threading

Built by Guillaume Schworer. Licensed under the GNU General Public License v3 or later (GPLv3+) license (see LICENSE).

Installation

Just run

pip install patiencebar

to get the most recent stable version.

Usage

The main entry points are the patiencebar.Patiencebar and patiencebar.Patiencebarmulti classes. You’ll just use it like this:

import patiencebar as PB

n_calc = 34
pb = PB.Patiencebar(valmax=n_calc, barsize=50, title="Test bar")
for i in range(n_calc):
    dostuff()
    pb.update()

More usage details, see example.py)

Documentation

All the options are documented in the docstrings for the Patiencebar and Patiencebarmulti classes. These can be viewed in a Python shell using:

import patiencebar as PB
print(PB.Patiencebar.__doc__)
print(PB.Patiencebarmulti.__doc__)

or, in IPython using:

import patiencebar as PB
PB.Patiencebar?
PB.Patiencebarmulti?

License

Copyright 2016 Guillaume Schworer

patiencebar is free software made available under the GNU General Public License v3 or later (GPLv3+) license (see LICENSE).

Changelog

1.0.0 (2016-05-03)

  • Initial release.
Release History

Release History

This version
History Node

1.0.4

History Node

1.0.2

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
patiencebar-1.0.4.tar.gz (5.7 kB) Copy SHA256 Checksum SHA256 Source Aug 21, 2016

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