P-tqdm

Latest version: v1.4.0

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

Scan your dependencies

Page 1 of 2

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

1.3

This version merges in PRs that make it possible to use `p_tqdm` in jupyter notebooks and to pass `kwargs` to the underlying `tqdm` object. Additionally, the code is refactored to reduce redundancy and to add in Python typing, meaning `p_tqdm` now only supports Python 3.5+.

1.2

Includes ability to pass single variables in addition to lists

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.