Quantities

Latest version: v0.15.0

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

Scan your dependencies

Page 1 of 3

0.15.0

------

- Quantities now has type stubs for all classes and functions. Many thanks to Peter Konradi and Takumasa Nakamura for this major effort.
- Fixed a number of deprecations coming from NumPy (thanks to Zach McKenzie)
- Dropped support for NumPy 1.19, added testing for Numpy 1.25 and 1.26, and for Python 3.12

------

0.14.1

------

- Fixed a bug when scaling quantities with integer dtype [`PR216 <https://github.com/python-quantities/python-quantities/pull/216>`_]

------

0.14.0

------

- Added decimeter to list of supported units [`PR202 <https://github.com/python-quantities/python-quantities/pull/202>`_]
- Removed deprecated mb as symbol for millibar unit [`PR203 <https://github.com/python-quantities/python-quantities/pull/203>`_]
- Fixed failure to preserve dtype in rescale [`PR204 <https://github.com/python-quantities/python-quantities/pull/204>`_]
- Added exp2 as a supported ufunc
- Fixed failure to handle units with floordiv [`PR207 <https://github.com/python-quantities/python-quantities/pull/207>`_]
- Added femtofarad (fF) to list of supported units
- Dropped support for Python 3.7
- Dropped support for NumPy versions older than 1.19
- Converted the project packaging from setup.py-based to pyproject.toml-based


------

0.13.0

------

- Dropped support for Python versions older than 3.7, in particular, for Python 2.7.
- Dropped support for NumPy versions older than 1.16
- Switched test runner to pytest, and CI to Github Actions


------

0.12.5

------

- Added preferred units support for .rescale
- Added dimensionless unit 'lsb' (least significant bit)
- Added SI multiples for Kelvin
- Fixed invalid escape sequence

All changes
***********

https://github.com/python-quantities/python-quantities/issues?utf8=✓&q=is%3Aclosed+closed%3A2020-01-08..2021-08-16

------

0.12.4

------

- Fix broken support for `pq.Quanitty('mbar')`
- Add a `__format__` implementation for Quantity
- Fix `np.arctan2` regression due to newer numpy version
- Fix "<ufunc 'clip'> not supported" error
- Test against Python 3.8 and NumPy 1.17

All changes
***********

https://github.com/python-quantities/python-quantities/issues?utf8=✓&q=is%3Aclosed+closed%3A2019-02-23..2020-01-08+

------

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.