Skip to main content

ConsoleBar

Python Module which creates stunning progress bars for showing progress of loops and iterables in python.

Installation

Simply using PyPi:

pip install consolebar

Usage

Simply run the following python code:

from consolebar import ConsoleBar

for item in ConsoleBar(object'''(list(), tuple(), dict(), range(), iterable, etc.)''', optional_params):
    #Do your stuff

Thats it!

Parameters

  • loop_to_execute (Required): Python loop parameter (list(), dictionary(), tuple(), str(), range(), etc.) i.e. iterable object for which progress bar is shown.
  • prefix (Optional): A string which is shown before the progress bar to describe the progress bar (Default: "Progress:").
  • suffix (Optional): A string which is shown after the progress bar to describe the progress percentage shown after the progress bar (Default: "Complete").
  • length (Optional): Length of the progress bar in charecters. Can be adjusted according to one's console charecter width (Default: 50).

Highly useful when you want to run huge loops but don't want to just see the blinking cursor of the console while it is executing.

Release files for consolebar 1.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 consolebar 1.2
File Size Uploaded
consolebar-1.2.tar.gz 3.2 kB Details

Release files / consolebar-1.2.tar.gz

Download URL consolebar-1.2.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1f28d8bd9ed3f95c04ab3d76d4046be83d8a6fd663aa086bf3faa23a6b59b383
BLAKE2b-256 checksum
How to use checksums
2a2ed4dbe78f09de31f6139ac57871e92400d417d7a6acd7ff4d96c3c71b9ea2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/2.7.15rc1

Release history Release notifications | RSS feed

This release

1.2 This release

1 release file

1.1

1 release file

v1.0

1 release file

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