Skip to main content

tqdm-thread

Python application

When you want to show that something is working, but don't have an iterable. For example, if you're loading a large Pickle file and want to show progress. All kwargs work as expected with tqdm with a couple exceptions:

  1. step_sec -- this is new. how many seconds to sleep between steps. default: 1.0
  2. total -- since we don't actually know the total, this create a new progress bar every total steps. default: None
  3. default bar_format is different; if total then '{desc} {bar} {elapsed}' else '{desc} {elapsed}'
import time
from tqdm_thread import tqdm_thread

with tqdm_thread(desc="doing serious work"):
    # no total; no pogress bar; just a counter
    time.sleep(10)

with tqdm_thread(desc="doing serious work", total=10):
    # adding 'total' means that you will get a bar
    time.sleep(10)

with tqdm_thread(desc="doing serious work", total=5):
    # here, two progress bars will be created
    time.sleep(10)

Tests

# pip install pytest

pytest -vs .

Metadata

Release files for tqdm-thread 0.1.1

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

Source distribution (sdist)

Source distribution for tqdm-thread 0.1.1
File Size Uploaded Provenance Actions
tqdm-thread-0.1.1.tar.gz 2.9 kB Without provenance Details for tqdm-thread-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tqdm-thread 0.1.1
File Interpreter ABI Platform Actions
tqdm_thread-0.1.1-py3-none-any.whl Python 3 none any Details for tqdm_thread-0.1.1-py3-none-any.whl

Total release size: 6.2 kB

Release files / tqdm-thread-0.1.1.tar.gz

Download URL tqdm-thread-0.1.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
68be0f2ef7ce1fa0f444f1748795d80e3c4912739092993ced8e2caa6571e66b
BLAKE2b-256 checksum
How to use checksums
d0b57f3c6816597868eb585f85fad9e0052b297add78b8dfb8f7d4f71c80713c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / tqdm_thread-0.1.1-py3-none-any.whl

Download URL tqdm_thread-0.1.1-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d19805dab829bdcbb6eaef66183f1be04961bdeeb1c19da874563cf995f8f3c
BLAKE2b-256 checksum
How to use checksums
c00da34b2e77794a17280d89833b540d17b886459cf44c7517cbe9722fa88370
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Security for tqdm-thread 0.1.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 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