python-Pint
No description set
- Developed at devel:languages:python:numeric
- Sources inherited from project openSUSE:Factory
-
4
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Slowroll:Base:1/python-Pint && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Pint-0.14.tar.gz | 0000251229 245 KB | |
python-Pint.changes | 0000021052 20.6 KB | |
python-Pint.spec | 0000002583 2.52 KB |
Revision 9 (latest revision is 20)
Dominique Leuenberger (dimstar_suse)
accepted
request 819352
from
Tomáš Chvátal (scarabeus_iv)
(revision 9)
- update to 0.14 * Changes required to support Pint-Pandas 0.1. * Reinstated support for pickle protocol 0 and 1, which is required by pytables (Issue #1036, Thanks Guido Imperiale) * Fixed bug with multiplication of Quantity by dict (Issue #1032) * Bare zeros and NaNs (not wrapped by Quantity) are now gracefully accepted by all numpy operations; e.g. np.stack([Quantity([1, 2], "m"), [0, np.nan]) is now valid, whereas np.stack([Quantity([1, 2], "m"), [3, 4]) will continue raising DimensionalityError. (Issue #1050, Thanks Guido Imperiale) * NaN is now treated the same as zero in addition, subtraction, equality, and disequality (Issue #1051, Thanks Guido Imperiale) * Fixed issue where quantities with a very large magnitude would throw an IndexError when using to_compact() * Fixed crash when a Unit with prefix is declared for the first time while a Context containing unit redefinitions is active (Issues #1062 and #1097, Thanks Guido Imperiale) * New implementation of 'Lx' String Format Type Option The old implementation treated 'Lx' as 'S' as produced by 'uncertainties' package, but that is not fully compatible with SIunitx. The new code protects SIunitx by fixing what unceratinties produces. (Issue #814) * Added link to budding `pint-xarray` interface library to the docs, next to the link to pint*pandas. (Thanks Tom Nicholas.) * Removed outdated `_dir` attribute of `UnitsRegistry`, and added `__iter__` method so that now `list(ureg)` returns a list of all units in registry. (Issue #1072, Thanks Tom Nicholas) * Replace pkg_resources.version to importlib.metadata.version. (Issue #1083) * Fix typo in docs for wraps example with optional arguments. (Issue #1088) * Add momentum as a dimension * Fixed a bug where unit exponents were only partially superscripted in HTML format
Comments 0