Unyts

Latest version: v0.9.12

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

Scan your dependencies

Page 2 of 3

0.5.0

In this version:
- Improved the internal converter function to work using lambda of the conversions instead of *conversion_paths*
- explicit addition to the conversion network for conversion from _g/cc_ to _API_
- revisited the demo notebook and completed it with more examples and a better explanation of the Unit class and the user functions `convert` and `units`

0.4.8

For faster loading, the _units dictionary_ and the _conversion network_ instance are saved to cache files. The first time `import unyts` is called. the _.cache_ files do not exist and will be created.
Additionally, the code has been cleaned and some parts were rewritten to improve efficiency.

0.4.4

Fixed name of error raised when the **converter** was not able to convert the requested units.
Changed the order of _volume_ in the units dictionary to reflect _litre_ as _volume_ while applying SI prefixes as first order (1_l = 1000_ml).

0.4.2

This calculation was already being done by the __pow__ method. This new function provides support for third packages.

0.4.0

Simpler names for functions and classes.
Version 0.4.1 fixes a wrong error name used on some especific functions.

0.2.7beta

- tested arithmetich operations.
- improved subtraction method to avoid error when operating with non multiplicative conversions, like temperature conversion.

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.