Releases: dubovikmaster/parallelbar
Releases · dubovikmaster/parallelbar
parallelbar v2.4
- fixed issue
- For Windows OS, when using the
add_progress
decorator, the function being decorated no longer needs theworker_queue
keyword argument.
parallelbar v2.3
- added
wrappers
module which contains decorators:stopit_after_timeout
- stops the function execution after the specified time (in seconds)add_progress
- adds a progress bar to the function execution, exception handling and timeout.
- added
return_failed_tasks
keyword parameter to theprogress_map/starmap/imap/imapu
function (default=False
) - ifTrue
then the result will include the tasks that failed with an exception.
parallelbar v1.2.0-stable
- Added
progress_starmap
function. An extension of thestarmap
method of thePool
class. - Improved documentation.
parallelbar v1.1.3-stable
- The
bar_step
keyword argument is no longer used and will be removed in a future version. - Added
need_serialize
boolean keyword argument to the progress_map/imap/imapu functions (defaultFalse
). Requires dill to be installed. IfTrue
the target function is serialized usingdill
library. Thus, as a target function, you can now use lambda functions, class methods, and other callable objects thatpickle
cannot serialize. - Added dynamic optimization of the progress bar refresh rate. This can significantly improve the performance of the progress_map/imap/imapu functions for very long iterables and a small execution time of one task by the objective function.
- The
"ignore"
value of theerror_behavior
keyword parameter is no longer supported. - Default value of key parameter
error_behavior
changed to"raise"
. - The pebble module is no longer used.
- Added key parameter
executor
in the functions progress_map/imap/imapu. Must be one of the values:
"threads"
- use thread pool
"processes"
- use processes pool (default) - The
core_progress
keyword argument was removed since version 1.0
parallelbar v0.3.0
Added error_behavior
and set_error_value
parameters to the progress_map, progress_imap and progress_imapu methods.
parallelbar v0.2.15
v0.2.15-stable added new gif.
parallelbar v0.2.14-stable
Fixed bug with module import in __init__.py;
parallelbar v0.2.13-stable
Added initializer
and initargs
keyword arguments to worker pools.
parallelbar v0.2.10-stable
- The process_timeout keyword argument has been added to the progress_imap and progress_imapu methods.
- The stopit_after_timeout decorator has been added to the tools module.
- Fixed a bug that caused the progrees_imap and progress_imapu methods to hang if chunk_size > 1
parallelbar v0.2.8-stable
Exception handling has been added to the progress_imap and progress_imapu methods.