Unyts

Latest version: v0.8.3

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

Scan your dependencies

Page 1 of 2

0.5.15

Several revisions and improvements:
- cleaned dictionary,
- reviewed digraph class (for network conversion),
- added more subclasses units,
- revisited testings.

latest
Implementing GUI.
Install version 0.7.1 and then execute `python -m unyts` or double-click the shortcut here available.

0.5.1

Simplified code to make it **compatible with Python 3.7** and subsequent. The previous release will fail on Python below 3.10.

The interaction with other packages like Numpy, Pandas and Cloudpicker has been modified to make them optional, avoiding the required dependence.

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.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.