Pinty

Latest version: v0.19.1

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

Scan your dependencies

Page 5 of 6

0.4

----------------

- Introduced Contexts: relation between incompatible dimensions.
(Issue 65)
- Fixed get_base_units for non multiplicative units.
(Related to issue 66)
- Implemented default formatting for quantities.
- Changed comparison between Quantities containing NumPy arrays.
(Issue 75) - BACKWARDS INCOMPATIBLE CHANGE
- Fixes for NumPy 1.8 due to changes in handling binary ops.
(Issue 73)

0.3.3

------------------

- ParseHelper can now parse units named like python keywords.
(Issue 69)
- Fix comparison of quantities.
(Issue 74)
- Fix Inequality operator.
(Issue 70, thanks muggenhor)
- Improved travis configuration.
(thanks muggenhor)

0.3.2

------------------

- Fix get_dimensionality for non multiplicative units.
(Issue 66)
- Proper handling of import directive inside a file read using pkg_resources.
(Issue 68)

0.3.1

------------------

- fix right division on python 2.7
(Issue 58, thanks natezb)
- fix formatting of fractional exponentials between 0 and 1.
(Issue 62, thanks jdreaver)
- fix installation as egg.
(Issue 61)
- fix handling of strange values as input of Quantity.
(Issue 53)
- math operations between quantities of different registries now raise a ValueError.
(Issue 52)

0.3

----------------

- support for IPython autocomplete and rich display.
(Issues 30 and 31)
- support for import directive in definitions file.
(Issue 22)
- support for wrapping functions to make them pint-aware.
(Issue 16)
- support for comparing UnitsContainer to string.
(Issue 35)
- fix error raised while converting from a single unit to one expressed as
the relation between many.
(Issue 29)
- fix error raised when unit symbol is missing.
(Issue 41)
- fix error raised when magnitude is Decimal.
(Issue 46, thanks danielsokolowski)
- support for non-installed pint.
(Issue 42, thanks danielsokolowski)
- support for application of numpy function on non-ndarray magnitudes.
(Issue 44)
- support for math operations on dimensionless Quantities (written with units).
(Issue 45)
- fix obtaining dimensionless quantity from string.
(Issue 50)
- fix adding and comparing numbers to a dimensionless quantity (written with units).
(Issue 54)
- Support for iter in Quantity.
(Issue 55, thanks natezb)

0.2.1

------------------

- fix error raised while converting from a single unit to one expressed as
the relation between many.
(Issue 29)

Page 5 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.