Unit Helper Module#

The unithelper module provides helper utility to convert various units.

Summary Functions#

is_quantity_type(obj)

c2f(celsius)

Convert Celsius to Fahrenheit.

Summary Classes#

UnitsQuantity(*args, **kwargs)

A type that represents the (deprecated) units Quantity.

Quantity()

Extension of pint.Quantity for temporary backward compatibility with the legacy units package.

UnitConverter(unit)