P-tqdm

Latest version: v1.4.2

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.4.2

Fixing a typing issue in setup.py that broke installs for Python <3.10. Thank you sahiljhawar for the fix!

1.4.1

Changed the creation of `Pool` to use `with`...`as` syntax (https://github.com/swansonk14/p_tqdm/pull/47). Thank you r-menezes!

1.4.0

Summary

The primary fix in this release is providing compatibility with Python 3.9+.

Merged PRs

https://github.com/swansonk14/p_tqdm/pull/29 – Fix deprecated collections import for compatibility with Python 3.9.

https://github.com/swansonk14/p_tqdm/pull/35 – Use the total kwarg as the tqdm length if provided.

https://github.com/swansonk14/p_tqdm/pull/28 – Fix bug with no sized iterables (look before you leap).

https://github.com/swansonk14/p_tqdm/pull/45 – Allow overriding tqdm function used.

https://github.com/swansonk14/p_tqdm/pull/36 – Include LICENSE.txt in pip package.

Other Changes
- Switched from Travis CI to GitHub Actions for testing.
- Changed default branch from master to main.
- Changed supported Python versions from 3.5-3.8 to 3.7-3.10.

1.3.3

Previously, `p_tqdm` specifically checked whether the provided iterables were lists. This meant that iteration over objects like numpy arrays and generators like `range` were performed incorrectly. This has now been fixed.

In the process of fixing the above, the treatment of non-lists has changed. Previously, non-lists were treated as singleton objects that were repeated as many times as the longest list. Now, singleton items (and the `num_iters` kwarg) should no longer be passed to `p_tqdm` maps since `p_tqdm` now expects all inputs to be iterators (and iterates until it reaches the end of the shortest one). To provide a singleton object along with the iterators, please use Python's [partial](https://docs.python.org/3/library/functools.html#functools.partial) from the [functools](https://docs.python.org/3/library/functools.html) library. An example is in the README.

1.3.2

1.3.1

Fixes an encoding issue in `setup.py` detailed in https://github.com/swansonk14/p_tqdm/issues/11

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.