All Projects → niedakh → pqdm

niedakh / pqdm

Licence: MIT License
Comfortable parallel TQDM using concurrent.futures

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to pqdm

framework
The Arcane Framework for HPC codes
Stars: ✭ 15 (-87.29%)
Mutual labels:  parallel-computing
Corium
Corium is a modern scripting language which combines simple, safe and efficient programming.
Stars: ✭ 18 (-84.75%)
Mutual labels:  parallel-computing
Loaders
Process dialogs, loading bars, etc.
Stars: ✭ 23 (-80.51%)
Mutual labels:  progress-bar
FacebookGraphAPI-Examples
Examples for facebook graph api for python
Stars: ✭ 38 (-67.8%)
Mutual labels:  tqdm
pbapply
Adding progress bar to '*apply' functions in R
Stars: ✭ 115 (-2.54%)
Mutual labels:  progress-bar
angular-progress-bar
This component allow you to easy incorporate progress-bar to angular/ionic project, providing binding and color options
Stars: ✭ 26 (-77.97%)
Mutual labels:  progress-bar
rich
Rich is a Python library for rich text and beautiful formatting in the terminal.
Stars: ✭ 36,988 (+31245.76%)
Mutual labels:  progress-bar
pyspark-asyncactions
Asynchronous actions for PySpark
Stars: ✭ 30 (-74.58%)
Mutual labels:  concurrent-futures
delayed
🕟 💻 Dependent Delayed Computation
Stars: ✭ 14 (-88.14%)
Mutual labels:  parallel-computing
MarioProgressBar
The Mario progress bar for IntelliJ IDEA and other JetBrains IDEs.
Stars: ✭ 29 (-75.42%)
Mutual labels:  progress-bar
sosoito
Progress layout collection for Android
Stars: ✭ 14 (-88.14%)
Mutual labels:  progress-bar
PyMFEM
Python wrapper for MFEM
Stars: ✭ 91 (-22.88%)
Mutual labels:  parallel-computing
artic
The AlteRnaTive Impala Compiler
Stars: ✭ 16 (-86.44%)
Mutual labels:  parallel-computing
stqdm
stqdm is the simplest way to handle a progress bar in streamlit app.
Stars: ✭ 75 (-36.44%)
Mutual labels:  tqdm
suru
A tqdm-style progress bar in Nim
Stars: ✭ 40 (-66.1%)
Mutual labels:  progress-bar
openload dl
A python library and CLI tool that makes easy to download files from openload.co
Stars: ✭ 36 (-69.49%)
Mutual labels:  tqdm
libROM
Model reduction library with an emphasis on large scale parallelism and linear subspace methods
Stars: ✭ 66 (-44.07%)
Mutual labels:  parallel-computing
Impala
Parallel High-Performance Components for Rhino/Grasshopper
Stars: ✭ 32 (-72.88%)
Mutual labels:  parallel-computing
bitpit
Open source library for scientific HPC
Stars: ✭ 80 (-32.2%)
Mutual labels:  parallel-computing
LineProgressbar
A light weight jquery progressbar plugin
Stars: ✭ 34 (-71.19%)
Mutual labels:  progress-bar

Parallel TQDM

Documentation Status Updates

PQDM is a TQDM and concurrent futures wrapper to allow enjoyable paralellization of iterating through an Iterable with a progress bar.

Install & Use

To install

pip install pqdm

and use

from pqdm.processes import pqdm
# If you want threads instead:
# from pqdm.threads import pqdm

args = [1, 2, 3, 4, 5]
# args = range(1,6) would also work

def square(a):
    return a*a

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

For more examples variants check the Usage section of the docs.

Features

  • parellize your tqdm runs using processes or threads thanks to concurrent.futures,
  • just import pqdm from pqdm.threads or pqdm.processes to start,
  • automatic usage of tqdm.notebook when iPython/Jupyter notebook environment detected, custom tqdm class accepted
  • automatic parsing of pqdm kwargs and separating between concurrent.Executor args and tqdm args,
  • support for any iterable and passing items as kwargs, args or directly to function which is being applied
  • support bounded exectutors via https://github.com/mowshon/bounded_pool_executor

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].