Skip to main content

Simple GUI class, which provides nice looking 'for' loop progress tracking.

Project description

Prgb-pkg

(Despite the current project version is 0.x, full functionality of package is already implemented. There is a need to check if there are exceptional cases in which package content do not work correctly. After that, the version of package will be fixed and upgraded to 1.0 marking the stable release.)

Prgb-pkg is a Python package containing wrapper class for iterable objects.
The main reason of its creation, is to provide comfortable and intact tracking of progress in python for loops, like in tqdm.
Thanks to output information being put in dedicated GUI the console output is undisturbed and
kept clean even when you print out information during iterating. There is a possibility to use wrapper class in already wrapped loop.
Input iterable object does not have to be Sized, but if it is the case some progress information can not be obtained.
Package does not use any dependiences.

Git project homepage

Pip installation:

>pip install prgb-pkg

Import method:

from prgb_pkg import Prgb  

Example of wrapper class usage:

for i in Prgb(iterable):
    ...

Wrapper usage on nested loop:

a = [3, 4, 5]

for elem in Prgb(a):
    print(elem)
    for i in Prgb(range(3)):
        print(elem ** i)

Each wrapper can have an optional title and can be set to not display his progress in GUI:

Prgb(iterable, 'Some hilarious and creative title')

Prgb(iterable, display_bar=False)

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

prgb-pkg-0.2.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

prgb_pkg-0.2.1-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file prgb-pkg-0.2.1.tar.gz.

File metadata

  • Download URL: prgb-pkg-0.2.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

File hashes

Hashes for prgb-pkg-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c578d3a2c6866561ab0ebf32c451af0ade738c0ba5707b3b463d921fbf748d3f
MD5 e6893f9ea2acbbca7d2ae4c3bca44568
BLAKE2b-256 14f03ac794b1c5b62245b2bcb4b3e6fdc01d07bd1920025a4a5d63207ea26e09

See more details on using hashes here.

File details

Details for the file prgb_pkg-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: prgb_pkg-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

File hashes

Hashes for prgb_pkg-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c4e80cb2de98137c594d53511b9798a56a6193458fd5622e4eadcb7dc76972a
MD5 765637f0cf8d6345e17b59b42c5cbf7f
BLAKE2b-256 23c0ee6099a0f5be8ace0bab8fb4c8cc87977964c89ad475f005b3c03e952ef2

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