swansonk14 / p_tqdm

Parallel processing with progress bars
MIT License
457 stars 44 forks source link

Fixed hanging pool, add typing, overall refactor #9

Closed swansonk14 closed 4 years ago

swansonk14 commented 4 years ago

Three main changes

1) Forced the multiprocessing pool to close to prevent hanging at the end of the iterations 2) Add typing to the functions (thus requiring Python 3.5+) 3) Did an overall refactor of the code to clean it up