Skip to main content

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.

Project details


Download files

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

Source Distribution

patiencebar-1.0.2.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file patiencebar-1.0.2.tar.gz.

File metadata

  • Download URL: patiencebar-1.0.2.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for patiencebar-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d2b9531b204b89dbcd4a74050f090395ee2e374d8cead0583a4856c010629cf5
MD5 e1f8b71cec138fa45f551b09d6620238
BLAKE2b-256 ba8ce61cd0104e47386ad87e37245466e85e3b1e2cdda5c157bd043d42fb75d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page