numericalunits (pypi): A package that lets you define quantities with units, which can then be used in almost any numerical calculation in any programming language. Checks that calculations pass dimensional analysis, performs unit conversions, and defines physical constants.
Keywords: units|quantities|physical constants|dimensional analysis