Skip to main content
https://api.travis-ci.org/bozoh/console_progressbar.svg?branch=master

Console Progress Bar

It’s a very tiny lib to help devs to print a progress bar in console

Usage

Here a very simple sample:

import time
from console_progressbar import ProgressBar

pb = ProgressBar(total=100,prefix='Here', suffix='Now', decimals=3, length=50, fill='X')
pb.print_progress_bar(2)
time.sleep(5)
pb.print_progress_bar(25)
time.sleep(5)
pb.print_progress_bar(50)
time.sleep(5)
pb.print_progress_bar(95)
time.sleep(5)
pb.print_progress_bar(100)

Parameters Description

params:

total       - Required  : total iterations (Int)
prefix      - Optional  : prefix string (Str)
suffix      - Optional  : suffix string (Str)
decimals    - Optional  : positive number of decimals in percent complete (Int)
length      - Optional  : character length of bar (Int)
fill        - Optional  : bar fill character (Str)

Release files for console-progressbar 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for console-progressbar 1.0.2
File Size Uploaded
console_progressbar-1.0.2.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for console-progressbar 1.0.2
File Interpreter ABI Platform
console_progressbar-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / console_progressbar-1.0.2.tar.gz

Download URL console_progressbar-1.0.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3d443c17c6e055e75f26bddbddd85eb7249c795298b751f525d9ae767d40e6a1
BLAKE2b-256 checksum
How to use checksums
64a6942a09e25c93ed5ee117172e0baf539765920297c131a2d1c96bf9441b1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / console_progressbar-1.0.2-py3-none-any.whl

Download URL console_progressbar-1.0.2-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35f1bac13a9a817fb76384fd0f32a6550beb756f28df4d0da8495e2b49bfc023
BLAKE2b-256 checksum
How to use checksums
692781d8391e26a1ac159272b337ad111c2a3ec225ee54e04e0dd7b7cbbd6d3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

This release

1.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page