Skip to content

parallelbar v1.1.3-stable

Compare
Choose a tag to compare
@dubovikmaster dubovikmaster released this 20 Dec 14:10
· 19 commits to main since this release
  • 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