Skip to main content

A simple progress bar with lots of customization \(^-^)/

Project description

KlondBar \m/(><)_\m/

coded by dAriush

what is klondbar?

klondbar is a simple progress bar package with lots of customizations! here are some of this customizable features:

  • adding header to progress bar
  • changing bar width
  • changing the color of progress bar

how to install klondbar?

use pip like any other package:

pip install klondbar

or: python3 -m pip install klondbar

How to use:

at this version of klondbar there is two different types of progress bar available:

  1. Mega Bar
  2. Micro Bar

Fast Usage Guide

Just wrap for loop sequence with micro_bar() or mega_bar()

mega_bar Fast Usage Sample Code:

from klondbar.megabar import mega_bar
import time
for i in mega_bar(range(10)):
    # place your calculations here
    time.sleep(0.1)  # just an exapmle of calculations

Here's example of mega_bar output:

megabar_output

micro_bar Fast Usage Sample Code:

from klondbar.microbar import micro_bar
import time
for i in micro_bar(range(10)):
    # place your calculations here
    time.sleep(0.1)  # just an exapmle of calculations

Here's example of micro_bar output:

micro_bar output

for more usage guide use following jupyter notebook:

Open In Colab

More information

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

klondbar-0.1.4.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

klondbar-0.1.4-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file klondbar-0.1.4.tar.gz.

File metadata

  • Download URL: klondbar-0.1.4.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for klondbar-0.1.4.tar.gz
Algorithm Hash digest
SHA256 49ffb40ecbaf2b7dddc6d5a515348945be3a5e9741934ce4d377368e57eaa7f7
MD5 84d3ab5ea45d421338086e0e084acf9b
BLAKE2b-256 f0d6d29026f0f2231e9a37379ba7341ce26d5e4117f2dede701527794141a51b

See more details on using hashes here.

File details

Details for the file klondbar-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: klondbar-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for klondbar-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5be745376d09ed3675968bd57d4dcc92ced8683e1997a4cb839a7567f7ce7800
MD5 4f57fcf1b225857bc5c1f96b1fae123e
BLAKE2b-256 ec2a4eaeeabfc6ba57fc20c2f6dd433419781aa91c83514c310152486c760d09

See more details on using hashes here.

Supported by

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