Skip to main content

Smart progressbar with multiple backends supporting both explicit updating and tqdm-style iterable-wrapping

Usage

progressbar(iterable=None, length=None, label=None,
            show_eta=True, show_percent=None, show_pos=False,
            item_show_func=None, ..., info_sep=' ', ...)

Check click.progressbar for the parameters and details. As of now, the IPython backend ignores all bar drawing and terminal-related parameters. (The ones not listed above)

Example

from smart_progress import progressbar

with progressbar([1,2,3]) as bar:
        for item in bar:
                do_work(item)

or

con = connection(...)
with con, progressbar(length=con.tot_size()) as bar:
        while not con.is_eof():
                block = con.retrieve_block()
                do_work(block)
                bar.update(len(block))

Dependencies

Metadata

Release files for smart-progress 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 smart-progress 1.0.2
File Size Uploaded
smart-progress-1.0.2.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for smart-progress 1.0.2
File Interpreter ABI Platform
smart_progress-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 kB

Release files / smart-progress-1.0.2.tar.gz

Download URL smart-progress-1.0.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3a2ef36aa7d3846476d44fe436ad6be68bd384e3cea4655a6185bcc82a31d280
BLAKE2b-256 checksum
How to use checksums
a5f1df703dee1e2deac70051e4b94e8facecf5a28c779b9e7ece9a05f62c7a89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL smart_progress-1.0.2-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6683be6df510d0fdf3dbbb1f121e7d58627528ae09d4e7ed50d117632c2ab311
BLAKE2b-256 checksum
How to use checksums
5791878605342664684ddbe5caa1a36b178433c8fa3680edbb37fec03ba4b41d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

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