Skip to main content

Tracking progress of joblib.Parallel execution

Project description

tqdm_joblib

Simple snippet copied from https://stackoverflow.com/a/58936697/5133167 packaged for simple reuse.

Usage

from math import sqrt
from joblib import Parallel, delayed
from tqdm_joblib import tqdm_joblib
from tqdm_joblib import ParallelPbar

with tqdm_joblib(desc="My calculation", total=10) as progress_bar:
    Parallel(n_jobs=16)(delayed(sqrt)(i**2) for i in range(10))

# or

ParallelPbar("My calculation")(n_jobs=16)(
    delayed(sqrt)(i**2) for i in range(10)
)

Distributed under CC BY-SA 4.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tqdm_joblib-0.0.5.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tqdm_joblib-0.0.5-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file tqdm_joblib-0.0.5.tar.gz.

File metadata

  • Download URL: tqdm_joblib-0.0.5.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for tqdm_joblib-0.0.5.tar.gz
Algorithm Hash digest
SHA256 34dd63c92e1b88b5118661a41eaf91001cac2687bfe217a4b6a9ab1bbf0f1c64
MD5 2d07eb82ef892c5693964211817d4988
BLAKE2b-256 90f7a9c22b0238269a6f77a40fdb701c5c9720def77816d7fd697516eb88f47a

See more details on using hashes here.

File details

Details for the file tqdm_joblib-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: tqdm_joblib-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for tqdm_joblib-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5948fccca627970cc8340dd56ac49d29222ed110b9ee39fd310b76a1483b471f
MD5 b3c15f9e2476da504dfa75d216b08e37
BLAKE2b-256 486ae9a02c0c8c990f07f05619a9033c32bee29ebbcab78bc5cf560a9b912b53

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page