Skip to main content

cliprog 📊

Lightweight CLI progress bars for Python.

Installation

pip install cliprog

Usage

Simple Iterator Wrapper

from cliprog import progress

for item in progress(items, desc="Processing"):
    process(item)

# Works with range
for i in progress(range(100)):
    do_work(i)

Manual Progress Bar

from cliprog import ProgressBar

bar = ProgressBar(total=100, desc="Downloading")
for chunk in download():
    save(chunk)
    bar.update(1)
bar.close()

Spinner

from cliprog import spinner

spin = spinner("Loading data")
for _ in range(10):
    spin.update()
    time.sleep(0.1)
spin.done("Data loaded!")

Output Examples

Processing [████████████████░░░░░░░░░░░░░░░░░░░░░░░░]  42.0% 42/100 ETA: 12s

Customization

bar = ProgressBar(
    total=100,
    desc="Custom",
    width=30,          # Bar width
    fill="▓",          # Filled character
    empty="░",         # Empty character
    show_percent=True, # Show percentage
    show_count=True,   # Show current/total
    show_eta=True,     # Show time remaining
)

License

MIT

Metadata

Release files for pycliprog-rj 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pycliprog-rj 1.0.0
File Size Uploaded Provenance
pycliprog_rj-1.0.0.tar.gz 3.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pycliprog-rj 1.0.0
File Interpreter ABI Platform
pycliprog_rj-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.3 kB

Release files / pycliprog_rj-1.0.0.tar.gz

Download URL pycliprog_rj-1.0.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c2abb98f3f13f29a999b089dda1b93610a00ec76627bc83454ab56401be59407
BLAKE2b-256 checksum
How to use checksums
ed978c9518044d9576c9f416f4859a01d5038dd84f8268000df43e77fcea0eb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / pycliprog_rj-1.0.0-py3-none-any.whl

Download URL pycliprog_rj-1.0.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
508f957861cbe50069763d04b8051733fd2241abe1638025b53d888fed70a7af
BLAKE2b-256 checksum
How to use checksums
fff8011866a2a15e14be8c845fafe0955400b9c99d97e9d71ac8071354755998
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Security for pycliprog-rj 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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