Skip to content

Releases: dubovikmaster/parallelbar

parallelbar v2.4

14 Nov 09:52
Compare
Choose a tag to compare
  • fixed issue
  • For Windows OS, when using the add_progress decorator, the function being decorated no longer needs the worker_queue keyword argument.

parallelbar v2.3

10 Nov 09:24
Compare
Choose a tag to compare
  • 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 the progress_map/starmap/imap/imapu function (default=False) - if True then the result will include the tasks that failed with an exception.

parallelbar v1.2.0-stable

21 Dec 12:26
Compare
Choose a tag to compare
  • Added progress_starmap function. An extension of the starmap method of the Pool class.
  • Improved documentation.

parallelbar v1.1.3-stable

20 Dec 14:10
Compare
Choose a tag to compare
  • 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 (default False). Requires dill to be installed. If True the target function is serialized using dill library. Thus, as a target function, you can now use lambda functions, class methods, and other callable objects that pickle 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 the error_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

29 Jul 17:36
Compare
Choose a tag to compare

Added error_behavior and set_error_value parameters to the progress_map, progress_imap and progress_imapu methods.

parallelbar v0.2.15

28 Jul 08:22
Compare
Choose a tag to compare
v0.2.15-stable

added new gif.

parallelbar v0.2.14-stable

25 Jul 16:12
Compare
Choose a tag to compare
Fixed bug with module import in __init__.py;

parallelbar v0.2.13-stable

24 Jul 18:26
Compare
Choose a tag to compare

Added initializer and initargs keyword arguments to worker pools.

parallelbar v0.2.10-stable

22 Jul 18:28
Compare
Choose a tag to compare
  • 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

22 Jul 08:07
Compare
Choose a tag to compare

Exception handling has been added to the progress_imap and progress_imapu methods.