Unit-convert

Latest version: v1.2.0

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

Scan your dependencies

1.1.0

- Option to initialise the class with non keyword arguments (eg. `UnitConvert('bytes', 100, 'kilobytes', 100)`).
- Access converted values via `__getitem__` (eg. `UnitConvert(mb=512)['gb']`).
- To give a more dict-like approach, available conversions can be accessed via `keys`, with support for `get`, `values` and `items`.
- Added temperature conversions.
- Added deprecation warning.

1.0.0

Supports conversion with data, time, distance and mass.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.