skillfed

pqdm

PQDM is a TQDM and concurrent futures wrapper to allow enjoyable paralellization of progress bars.

pqdm v0.2.0 390.4K downloads/30d#7,022 on PyPI302
Permissive license MIT license DORMANT released

What it is and what it does

pqdm is a thin wrapper around tqdm and Python's concurrent.futures that lets you parallelize iteration over an iterable while displaying a live progress bar. Instead of writing separate code for progress tracking and parallelism, you pass your iterable and a function to pqdm, specify the number of jobs (processes or threads), and get back results with a progress bar that updates as tasks complete. It automatically detects Jupyter environments and uses tqdm.notebook when appropriate, and accepts custom tqdm classes for specialized use cases.

The package depends on tqdm for progress display, bounded-pool-executor for optional bounded thread/process pools, and typing-extensions for type hints. It supports both process-based parallelism (via pqdm.processes) and thread-based parallelism (via pqdm.threads), making it suitable for CPU-bound and I/O-bound workloads respectively. The API is deliberately simple: you import pqdm, call it with your iterable and function, and let it handle the concurrency and progress reporting.

Use it for:

  • Parallelize batch processing of data (e.g., image resizing, file conversion) with live progress feedback.
  • Speed up I/O-bound operations like API calls or database queries across multiple threads while monitoring completion.
  • Distribute CPU-intensive computations across processes with a visual progress indicator for long-running tasks.
  • Quickly add parallelism to existing sequential code that already uses tqdm for progress tracking.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

pqdm wraps tqdm and concurrent.futures to parallelize iteration over iterables with a live progress bar, supporting both process and thread-based parallelism.

Yes, if you need straightforward parallel iteration with progress bars and can accept dormant maintenance. The low install friction, permissive MIT license, and stable API make it a practical choice for one-off scripts or stable production use. However, if you require active maintenance, ongoing feature development, or support for Python versions beyond 3.9, consider whether a more actively maintained alternative fits your timeline.

Install

pqdm on PyPI

pip

pip install pqdm

uv

uv add pqdm

poetry

poetry add pqdm

Installing pqdm

Before you install

Low install friction with three lightweight runtime dependencies. Maintenance is dormant—last release was 2022-02-14, though the repository remains active with a recent commit on 2024-12-07. Suitable for stable use cases but expect no new features or rapid bug fixes.

License in practice

MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

pip install pqdm

from pqdm.processes import pqdm

args = [1, 2, 3, 4, 5]
def square(a):
    return a * a

result = pqdm(args, square, n_jobs=2)

Requires Python 3.6 or later; process-based parallelism may require special handling on Windows due to multiprocessing constraints.

Verify before relying

  • Whether automatic tqdm.notebook detection works reliably in all Jupyter/IPython environments.
  • Performance characteristics and overhead compared to raw concurrent.futures for small workloads.
  • Compatibility with Python versions beyond 3.9 (classifiers list only up to 3.9).

Package facts

License MIT license (permissive)
Python support supports the current Python release (>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies 3 — bounded-pool-executor, tqdm, typing-extensions
Maintenance dormant — 1,642 days since the last release
Last repo commit
First released
Downloads 390,380/month — #7,022 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pqdm-0.2.0-py2.py3-none-any.whl

Keywords: pqdm

Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

parallel iteration with progress bartqdm concurrent futures wrappermultiprocessing progress trackingthreaded loop with tqdmparallelized tqdmbounded pool executor progress
progress-barparallelismconcurrent-futures

More Distributed Computing packages