Skip to main content

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.

PyPI website
Git project homepage

meme_0

meme_1

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)

Summary about ending time and totall runtime of chosen bar? No problem:

with open('example_bar_summary.txt', 'w') as f:
    for i in Prgb(iterable, print_summary=True, summary_stream=f)
        ...

Release files for prgb-pkg 0.2.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 prgb-pkg 0.2.2
File Size Uploaded
prgb-pkg-0.2.2.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for prgb-pkg 0.2.2
File Interpreter ABI Platform
prgb_pkg-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.5 kB

Release files / prgb-pkg-0.2.2.tar.gz

Download URL prgb-pkg-0.2.2.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
483601fa3a4427318b67ba566ebfcebc0a453f3cc79a41f6a670f1caad33f8e3
BLAKE2b-256 checksum
How to use checksums
db995e9189b4aa6a7523890835cae5b17ecb0dad4378804b41035b9bb4b86819
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / prgb_pkg-0.2.2-py3-none-any.whl

Download URL prgb_pkg-0.2.2-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a7cfb4a5c5a17da72484bd3eaef294de84a610cd11b6fc454f0775e13515af3
BLAKE2b-256 checksum
How to use checksums
13d4d1b69abefebf60f54aab275460275b5836b7ede545707d5253992fe5f3c0
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

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